video-poker

GitHub – r2dev2bb8/video-<a title class="aalmanual" target="_blank" href="https://v.bestslots4u.com/f56321a4-e4f2-4ac5-8ed8-78f515421860" rel="noopener">poker</a>: Video <a title class="aalmanual" target="_blank" href="https://v.bestslots4u.com/f56321a4-e4f2-4ac5-8ed8-78f515421860" rel="noopener">poker</a> project for Lynbrook Intro to CS.

<meta name="analytics-location" content="//” data-pjax-transient=”true”>

<!– To prevent page flashing, the optimizely JS needs to be loaded in the
tag before the DOM renders –>

{{ message }}

Video poker project for Lynbrook Intro to CS.

Files

Permalink

Failed to load latest commit information.

Type

Name

Latest commit message

Commit time

Video poker project for Lynbrook Intro to CS. This supports a graphical user interface, audio, and online multiplayer.

Setup

python3 setup.py

Usage

Single Player

Text-based

python3 game.py

With audio:

python3 game.py --audio

Gui-based

python3 gui.py

With audio:

python3 gui.py --audio

Double Player

  1. On each client, run python3 client.py.
  2. One person must enter player 1 and the other must enter that he or she is player 2.
  3. Once Sending has started, run python3 host.py on the machine which will host this.
  4. In the clients, enter your name (5 chars or less).
  5. Enter in the number of credits you have.
  6. Enter how much you want to bet.
  7. Enter the indeces of the cards you want to hold.
  8. Enter Y to continue or N to stop.
  9. The winning player is displayed in the terminal with host.py.

Other notes

  • This project was made in an introduction to computer science class. Because of this, the code quality is not up to great standards.
  • If running with audio is not working on your computer, you need to install vlc media player of the same version as your python. Example: for 32 bit python, you need 32 bit vlc.
  • The multiplayer funcitonality uses predefined accounts on the Free Internet Chess Server. Therefore, two people cannot run the multiplayer at the same time. To change the anonymous accounts used, change the constants in host.py. We did not know about servers during this project.

About

Video poker project for Lynbrook Intro to CS.

Resources

No releases published

No packages published


You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.

Latest posts