Skip to content

This is the project Konstantin and Apostolov contructed is about blackjack with servers and API's

Notifications You must be signed in to change notification settings

Doufless1/Real_World_Interaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real_World_Interaction

Our project consists of 2 projects BlackServer and Batman(this is the blackjack game).

#BlackServer is a host server specially created to create and host the deck for the game. Once the code is run it will create a local server and an instance of the deck. It is meant for one player and only hosts one instance of deck however multiple players can asynchronously connect and disconnect as they want with the server. Once it accepts a connection the server will display the message received and connection status. Only 3 commands are implemented. These are "HIT" which returns on card objects, "DEAL" which returns 2 card objects and "NEW" which creates a new shuffled deck of cards.

#Batman hosts the game logic and GUI interface. The player can actually interact with the game through the GUI, but since we get our deck from the server, we recommend that you start running that first. Once the player presses "New Game" players are required to take a bet to proceed. The game will connect to the server, retrieve the cards needed, and disconnect. Players Can hit for an additional card, fold to quit the current hand, double to take one more card and double their bet. If the player wins the hand money is added to the player. The game will repeat until the player runs out of money.

About

This is the project Konstantin and Apostolov contructed is about blackjack with servers and API's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages