/qwirkle-socket-server

Qwirkle game local console server with java sockets. Old school project.

Primary LanguageJava

Qwirkle Java Server and Android Client

What is Qwirkle?

Qwirkle is a tile-based game for 2-4 players. Each player has a hand of six tiles, and the goal of the game is to score the most points by forming rows or columns of tiles with the same shape, color, or number. Read more about the game here https://en.wikipedia.org/wiki/Qwirkle

How to Play Qwirkle

  1. On your turn, draw a new tile from the bag or take one from the table.
  2. Place one of your tiles on the table, either starting a new row or column or extending an existing one.
  3. If your tile completes a row or column of at least three tiles, you score points for each tile in the row or column.
  4. The game continues until there are no more tiles left in the bag. The player with the most points at the end of the game wins.

How to Run the Qwirkle Java Server and Android Client

Java Server

  1. Clone the repository to your local machine.
  2. Open the project in your IDE of choice.
  3. Compile and run the server.

Android Client

  1. Get the client file here https://github.com/elsonza/qwirkle-android
  2. Open the app and connect to the server by entering the server's IP address and your name
  3. Start playing Qwirkle!
  4. It supports multiple groups with 2-4 players in a group. Watch the following video for detailed info.

Gameplay Video

Youtube Link: https://www.youtube.com/watch?v=JfbHhtqi0VM

Technologies

  • Java
  • Java Sockets
  • Android
  • Multi-Threading
  • Multiplayer

Class Diagram

Journal_Njabulo_Khoza_219311080-1