Skip to content

It is a game called "Wheel of Fortune" implemented in python3 through Object Oriented Programming.

Notifications You must be signed in to change notification settings

SOBAN50/Wheel-of-Fortune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Wheel of Fortune in python

It is a game called "Wheel of Fortune" implemented in python3 through Object Oriented Programming.

More details about the game

There are multiple human players

  • Every player has some amount of money ($0 at the start of the game)
  • Every player has a set of prizes (none at the start of the game)

The goal is to guess a phrase within a category. For example:

  • Category:Sports
  • Phrase: Cricket is a gentleman's game

Players see the category and an obscured version of the phrase where every alphanumeric character in the phrase starts out as hidden (using underscores: _):

  • Category: Sports
  • Phrase: _______ __ _ ________' ____

During their turn, every player spins the wheel to determine a prize amount and:

  • If the wheel lands on a cash square, players may do one of three actions:

    • Guess any letter that hasn’t been guessed by typing a letter (a-z)

      • Vowels (a, e, i, o, u) cost $250 to guess and can’t be guessed if the player doesn’t have enough money. All other letters are “free” to guess

      • The player can guess any letter that hasn’t been guessed and gets that cash amount for every time that letter appears in the phrase

      • If there is a prize, the user also gets that prize (in addition to any prizes they already had)

      • Example: The user lands on $500 and guesses ‘E’

        • There are three W’s in the phrase, so the player wins $2000
    • Guess the complete phrase by typing a phrase (anything over one character that isn’t ‘pass’)

      • If they are correct, they win the game
      • If they are incorrect, it is the next player’s turn
    • Pass their turn by entering 'pass'

  • If the wheel lands on “lose a turn”, the player loses their turn and the game moves on to the next player

  • If the wheel lands on “bankrupt”, the player loses their turn and loses their money but they keep all of the prizes they have won so far.

The game continues until one player guesses the complete phrase

About

It is a game called "Wheel of Fortune" implemented in python3 through Object Oriented Programming.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages