Python Forum
Guessing Game with .WAV Files - Python Coding
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guessing Game with .WAV Files - Python Coding
#2
First off, you'll need to ask the user what sound they thought it was. Then you'll take that response, and check it against the answer. As you've currently coded things, it would probably be tough to check the answer. What I would do to fix that would be to have sounds contain pairs (tuples) instead of just the path, where the tuples would contain the expected answer as well as the path.
Reply


Messages In This Thread
RE: Guessing Game with .WAV Files - Python Coding - by micseydel - Nov-05-2018, 08:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Beginner Boolean question [Guessing game] TKB 4 2,568 Mar-22-2022, 05:34 PM
Last Post: deanhystad
  Unable to count the number of tries in guessing game. Frankduc 7 2,155 Mar-20-2022, 08:16 PM
Last Post: menator01
  Tic-Tac game (Beginner's coding) Shahmadhur13 5 3,375 Aug-29-2020, 08:40 PM
Last Post: deanhystad
  Guessing game problem IcodeUser8 7 3,943 Jul-19-2020, 07:37 PM
Last Post: IcodeUser8
  Beginner Code, how to print something after a number of turns (guessing game) QTPi 4 2,982 Jun-18-2020, 04:59 PM
Last Post: QTPi
  Python Help - Guessing Game JamieT 5 2,955 Apr-16-2020, 01:30 PM
Last Post: deanhystad
  Guessing game kramon19 1 2,294 Mar-25-2020, 04:17 AM
Last Post: deanhystad
  Help for guessing game code Kronos 5 3,495 Mar-09-2020, 04:53 PM
Last Post: snippsat
  guessing the number game go127a 6 5,057 Apr-27-2019, 01:23 PM
Last Post: go127a
  Guessing Game does not work the_entrepreneur 3 2,960 Apr-20-2019, 06:19 AM
Last Post: SheeppOSU

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020