Multiplayer game made by 2 other students of Codaisseur Academy and myself.
Developed with:
- React/Redux
- Material UI
- Typescript
- TypeORM
- Websocket
The assisgnment consisted on building a new game from the code of Tic Tac Toe Multiplayer game, gave by the teacher. This way, we learned to understand other's code and work with it.
It's build using create-react-app. You first need to yarn in order to get all the dependencies locally. To start the app yarn start can be used.
The backend (server) of this project must be running for the app to function correctly.
The server side is composed of 3 tables: game, players, users. The endpoints are the following:
1 - Game, players:
GET /games: list all gamesGET /games/:id: select game by idPOST /games: create new gamePOST /games/:id/players: create new game for the second player to joinPATCH /games/:id: update an existing game (progress)
2 - Users:
GET /users: list all usersGET /users/:id: select user by idPOST /users: add new player to users database by signing up