/Blackjack-Server

Multiplayer Blackjack Server with multiple-room capabilities

Primary LanguageJavaMIT LicenseMIT

Blackjack Server

This server program acts as both a dealer and the server for hosting Blackjack games with up to a maximum of 6 clients per room, with dynamic allocation of players to new game rooms once the current room is full.

The protocol of this program is laid out in this Google Doc.

Instructions:

  • Compile and run CentralServer.java to open the main program.
  • Follow the rest of the instructions in the GUI.

Notes:

To enable/disable the debug messages or change other constants used in the program (e.g. the delay between messages being sent), change the values of the constants at the top of Server.java (lines 27-29). Please note that we cannot guarantee that the server will run as smoothly with some of these constants at non-original values due to dependancy of delays for various synchronized elements.