Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Programming Question
Hello, I was going to post this on the Homework forum but I felt as if this place would be better.
I have been asked to create this project for school, I have tried for many hours but at some point or another, I get stuck. Any help would be appreciated.

Here is the question.

A music quiz game.
The game stores a list of song names and their artist
(e.g. the band or solo artist name). The player needs to
try and guess the song name.
The game is played as follows:
• A random song name and artist are chosen.
• The artist and the first letter of each word in the song title are displayed.
• The user has two chances to guess the name of the song.
• If the user guesses the answer correctly the first time, they score 3 points. If the user guesses
the answer correctly the second time they score 1 point. The game repeats.
• The game ends when a player guesses the song name incorrectly the second time.
Only authorized players are allowed to play the game.
Where appropriate, input from the user should be validated.
Design, develop, test, and evaluate a system that:
1. Allows a player to enter their details, which are then authenticated to ensure that they are an
authorized player.
2. Stores a list of song names and artists in an external file.
3. Selects a song from the file, displaying the artist and the first letter of each word of the song title.
4. It allows the user up to two chances to guess the name of the song, stopping the game if they guess
a song incorrectly on the second chance.
5. If the guess is correct, add the points to the player’s score depending on the number of guesses.
6. Displays the number of points the player has when the game ends.
7. Stores the name of the player and their score in an external file.
8. Displays the score and player name of the top 5 winning scores from the external file.
please show the code you have so far that you got stuck with, someone might be able to help give you an idea of how to get unstuck.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Need urgent help in this question of Automata Programming Paradigm Satvik 5 249 Apr-27-2020, 06:05 PM
Last Post: buran
  Verilog HDL Programming to Python Programming? noobcoder 1 525 Jul-18-2019, 09:28 PM
Last Post: nilamo

Forum Jump:

Users browsing this thread: 1 Guest(s)