31 lines
602 B
Markdown
31 lines
602 B
Markdown
# 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
|
|
|
|
1. Build the project:
|
|
```bash
|
|
mvn clean install
|
|
```
|
|
|
|
2. Start the server:
|
|
```bash
|
|
mvn compile exec:java -pl server -am
|
|
```
|
|
|
|
3. Start the client (in a new terminal):
|
|
```bash
|
|
mvn compile exec:java -pl game -am
|
|
``` |