Skip to content

jultan/chifoumi

 
 

Repository files navigation

CHIFOUMI

Célèbre jeu en modèle client-serveur, utilisant LibGDX et Kryonet.

Client

Users run the client, input the IP address that the server is running on and a player name, and are then connected to the server. From here users can queue up for matchmaking, which is all handled by the server, allocating players to games when it can find a pair of queued players.

Menu screenshot

When ingame, players play a game of rock-paper-scissors against another human opponent. The first to 3 points is declared the winner and players are returned to the menu.

Ingame screenshot

Server

Only one server instance can be run per machine. There are two options for running the server, either straight from the server.jar file, or from the RunServerCmd.bat file. The former will run the server in the background, the latter in a command window, which is recommended.

The server is ran on port 54555-54556, so if you want to be able to connect to clients outside of a LAN, you will have to portforward these ports. Once the server has been launched, clients can connect to it with its IP address, and the server will handle matchmaking and gameplay for any connected clients.

Ingame screenshot

About

Célèbre jeu en modèle client-serveur, utilisant LibGDX et Kryonet.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%