Files
game/README.md
2026-02-22 22:00:26 +01:00

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

  1. Build the project:

    mvn clean install
    
  2. Start the server:

    mvn compile exec:java -pl server -am
    
  3. 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).