Tyrera is a command-line typing game that uses Java TCP Server. The game features user registration and login, single-player mode, and multiplayer mode.
User registration and login are implemented in the game. The user's data is stored on the session only.
In single-player mode, the player can practice typing skills.
Multiplayer mode is divided into the following phases:
-
Matchmaking The game creates a match between four players, divided into two teams.
-
Phase 1 & Phase 2 The game is divided into two phases, and each player in the two teams tries to score as many points as possible.
-
Scoring The score of each player is calculated based on:
- Time elapsed
- WPM = ((The length of the typed string / 5) / Time elapsed) * 60
- Accuracy (%)
- Score = WPM * Accuracy
- Result The game sends the players the result of the match.
To run the game, follow these steps:
- Build and run ServerTCP.
- Run ClientTCP to join the server (multiple instances are available).
- Enjoy the game and improve your typing skills.
This game was created by zerot69 and baohieu078.