Description
THE WHEEL OF FORTUNE
INSTRUCTOR
Connor Jones is a Mechanical Engineer and senior Python developer based in the UK. He holds a PhD of Mechanical Engineering and has participated in several research projects at the Imperial College in London.
DESCRIPTION
The goal of this practice project is to code a simple version of the famous TV show “The Wheel of Fortune”.
The gameshow is based on solving word puzzles to earn money. All contestants will be shown a number of blank spaces, that make up all of the characters of a common saying. When it is there turn, a contestant will be allowed to guess a consonant, that is in the saying. If the contestant guesses correctly, the blank spaces will be replaced by the consonant, and they will be given the opportunity to guess the saying to win a prize.
There is no graphical interface, you are requested write a script to play the wheel of fortune with the same constraints and rules of the show.
The program will ask you to enter the contestants and spin the wheel. It will print the puzzle hidden by underscores and ask the players to guess the consonants contained in each saying. It will also store and update the earnings of each player and display the final prize, the saying and the winner if the puzzled is correctly guessed.
Guided Project
It is a guided project, so it is divided in several parts that you will have to complete. It is a great challenge to practice “for” and “while” loops, conditional statements and lists. You will also need a few easy libraries like “random” or “string”. Don´t worry if you are not familiar with those libraries, the tasks involving the libraries are very basic. One of the goals of the following challenges is to get used to reading documentation and get the basics of new libraries to perform tasks more efficiently.
DOWNLOAD / CONTENT
You will receive an email with a protected ZIP and a password to access the content. The download is always available on your account.
The downloadable zip is made up of:
1) INSTRUCTIONS. A PDF with the project description. It includes a guidelines section and a flow diagram to help you complete the challenge step by step. The project is broken down in several exercises or hints that you may follow in case you need guidance (11 pages).
2) A csv with 20 word puzzles.
3) SOLUTIONS: a Jupiter Notebook including detailed explanations and comments and explanations about how the code works.
IMPORTANT: to see the solutions (Notebook) you need to have Jupyter or the ANACONDA package installed on your machine. If you do not have it, you may download it here. It is free.
WHAT YOU WILL PRACTICE
– Lists.
– Import/read csv files with the CSV library.
– Nested loops.
– Conditional statements and lists.
– String manipulation.
– Loops (while/for).
– List comprehensions.
– Boolean.
REQUIREMENTS
These exercises are for students that have finished a python bootcamp or online course and want to find a use to the theory and concepts learnt in the classes.
CONTACT
If you need additional information, do not hesitate to contact us.
Additional information
Reviews (0)
User Reviews
Only logged in customers who have purchased this product may leave a review.
There are no reviews yet.