Skip to content

A simple networking chess game written in Java using LibGDX.

License

Notifications You must be signed in to change notification settings

pkg-dot-zip/libgdx-chess

Repository files navigation

Project logo

LibGDX-Chess

Stars Downloads Last Commit License


A simple networking chess game written in Java using LibGDX.

📝 Table of Contents

🧐 About

LibGDX-Chess is a multiplayer chess game made in Java, using LibGDX. This project was made in college for a networking assignment.

This application writes the entire List of ChessFields as an object and the chat messages as Strings. This is because we needed to use both for the assignment, and I recommend real world applications to replace the object with a string in the Forsyth–Edwards Notation (FEN).

🎈 Usage

Instructions on how to get this project running on your machine:

  1. Download the project from the GitHub repository.
  2. Open the project in IntelliJ IDEA.
  3. Open the Gradle tab on the right side of the screen and click on the "Refresh all Gradle projects" button.
  4. Now go to the Server class in the project and run it.
  5. Now open two instance of the game, this is done by:
    1. Open the Gradle tab on the right of the screen.
    2. Navigate to libgdx-chess (root) -> Tasks -> other.
    3. Click on "run".
    4. Now the application will run, and a build configuration will be added to IntelliJ.
    5. Go to the build configurations and click on "Edit Configurations".
    6. Enable "Allow parallel run".
    7. Run a second instance of the application by clicking on "run" again.

⛏️ Built Using

✍️ Authors

  • @OnsPetruske - Idea, Initial work, general development & management
  • @medkam - General development