Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c Guessing Gam First the player has to create an account for him. He will be prompted to enter a login name and a

image text in transcribed

in c

Guessing Gam First the player has to create an account for him. He will be prompted to enter a login name and a password (6 alphanumeric digits). The login name should not have been used by another player Then the player has to sign in by entering his login and his password. If the password is wrong either the player exits or will be given two more password trials. If the player failed to recall the password, his account will be blocked. Upon successful login, the player will be given a menu of the following: . Change password: . Show scores Difficulty Play Logout The details are the following: Change password: The player will be asked to enter the current password, then enter a new password twice. The new password should be different from the current one. . Show scores: A list of last 5 scores will be displayed .Difficulty: The player will choose one of the following game levels: Easy: The range will be from I to 50. Five trials will be granted. Each miss will cost the player 10 points. Middle: The range will be from 1 to 50. Three trials will be given. Each miss will cost the player 15 points. Expert: The range will be from 1 to 100. Two trials will be given. Each miss will cost the player 25 points. o o o Play: The player will be asked to guess a number is a specific range based on the level he has chosen. The default level is Middle. Then, the user will start with a score of 100, Each miss will cost him points. At the end of trials the player's score will be saved. I the player has made a better score than the previous ones, a message will be displayed congratulating the Logout: logs the player out. The game admin may also login with name "admin" and his password. The admin's menu is: . Delete player . Show score statistics Logout The details are the following: . Delete player: A list of blocked players will be shown. Then the admin delete as many . Show score statistics: A List of latest players' logins and their scores with time duration of . Logout: The admin logs out. players as needed. the game for each one. Guessing Gam First the player has to create an account for him. He will be prompted to enter a login name and a password (6 alphanumeric digits). The login name should not have been used by another player Then the player has to sign in by entering his login and his password. If the password is wrong either the player exits or will be given two more password trials. If the player failed to recall the password, his account will be blocked. Upon successful login, the player will be given a menu of the following: . Change password: . Show scores Difficulty Play Logout The details are the following: Change password: The player will be asked to enter the current password, then enter a new password twice. The new password should be different from the current one. . Show scores: A list of last 5 scores will be displayed .Difficulty: The player will choose one of the following game levels: Easy: The range will be from I to 50. Five trials will be granted. Each miss will cost the player 10 points. Middle: The range will be from 1 to 50. Three trials will be given. Each miss will cost the player 15 points. Expert: The range will be from 1 to 100. Two trials will be given. Each miss will cost the player 25 points. o o o Play: The player will be asked to guess a number is a specific range based on the level he has chosen. The default level is Middle. Then, the user will start with a score of 100, Each miss will cost him points. At the end of trials the player's score will be saved. I the player has made a better score than the previous ones, a message will be displayed congratulating the Logout: logs the player out. The game admin may also login with name "admin" and his password. The admin's menu is: . Delete player . Show score statistics Logout The details are the following: . Delete player: A list of blocked players will be shown. Then the admin delete as many . Show score statistics: A List of latest players' logins and their scores with time duration of . Logout: The admin logs out. players as needed. the game for each one

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions