740 B
740 B
Terminal Game
A multiplayer terminal-based game built with Java, utilizing WebSockets for communication and Lanterna for the text-based user interface.
Project Structure
- game: Client application (TUI).
- server: WebSocket server.
- common: Shared libraries and logic.
Requirements
- Java 25
- Maven
How to Run
-
Build the project:
mvn clean install -
Start the server:
mvn compile exec:java -pl server -am -
Start the client (in a new terminal):
mvn compile exec:java -pl game -am
Controls
- Left Click: Interact with objects and fight.
- WASD: Move the character.
- CTRL: Hold to run (sprint).