Skip to content

C++ Terminal-based multiplayer poker game that can be played over a network.

Notifications You must be signed in to change notification settings

swayongshen/Poker

Repository files navigation

Poker

This is a personal project to create an OOP constructed C++ based poker game.

Goals:

  1. Finish terminal-based local mode. - [x]
  2. Add networking component to enable multiplayer mode. - [x]
  3. Maybe implement GUI using something simple like SFML. - [ ]

Challenges faced:

  1. Poker hand comparison was suprisingly tedious to program even though it is easy to see who is the winner in a real life poker game.
  2. Threading was unexpectedly difficult to deal with. Had to learn to deal with concurrency in shared variables.
  3. Some variables could not be copied and had to be handled differently such as using std::move and wrapping some them in std::unique_ptr.
  4. Difficulties in implementing timeouts for user input and syncing it with server. Ended up removing timeouts.

About

C++ Terminal-based multiplayer poker game that can be played over a network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published