This exercise should be a funny way of preparing for our semester exam. It will bring together most of the topics we covered in the first semester. Work on it seriously and you can be sure that you will master the upcoming exam.
You job is to build a simple mobile game for two players. Each player uses her own mobile device. The game has to cover the following, technical aspects:
The logic is written in TypeScript.
The frontend uses HTML5 and CSS.
The frontend runs in a mobile browser (Android and/or iOS)
The backend uses Node.js.
The communication between frontend and backend uses HTTP and Websockets.
The game stores something (e.g. highscore list) persistently on disk.
You check in your code in GitHub
You plan your work using GitHub Projects
You document your concepts using GitHub Wikis
Update your GitHub project frequently! I will monitor your projects and give feedback. In case of question, create a GitHub issue.
You don't have an idea for your game? Here are some examples for simple games:
If you want to integrate touch events in your game, read about touch events on MDN.
If you need graphics for your game, consider the following options:
div
s with background color, etc.)