This part is a game that the user can play. The game starts with the following screen in a table structure as shown below. Part 2: Game Your chosen alphabet: Current Score: 0 <1st alphabet> <2nd alphabet > <3rd alphabet > The player will pick a target alphabet from a list box showing A to Z. The initial value of score is zero and it must be shown as "0" in the box. When the player clicks on the "Start Game" button, in every 1 seconds, three random alphabets will be generated and filashing on the screen (e.g. AX W) at the position as shown above. The three alphabets must not repeat at the same time (i.e. can't have repeating alphabets - e.g. A X A). After starting a game, you can't change the chosen alphabet. To play the game, the player must click on the randomly generated alphabet that was chosen earlier to win 4 points. If the player clicks on the wrong alphabet, 3 points are deducted. Therefore, the game score can become negative if the player clicks on many wrong alphabets. For example, if the chosen alphabet is "X" and the randomly generated alphabets are "A", "X" and "W", clicking on the 2nd alphabet "X" will gain 4 points. Clicking on the alphabet "W" will result in losing 3 points. The current score is displayed on the top right corner of the table. It must be updated in real-time as the player plays the game. Try to have the font size, foreground and background colours as close as possible to what are shown ahnve
This part is a game that the user can play. The game starts with the following screen in a table structure as shown below. Part 2: Game Your chosen alphabet: Current Score: 0 <1st alphabet> <2nd alphabet > <3rd alphabet > The player will pick a target alphabet from a list box showing A to Z. The initial value of score is zero and it must be shown as "0" in the box. When the player clicks on the "Start Game" button, in every 1 seconds, three random alphabets will be generated and filashing on the screen (e.g. AX W) at the position as shown above. The three alphabets must not repeat at the same time (i.e. can't have repeating alphabets - e.g. A X A). After starting a game, you can't change the chosen alphabet. To play the game, the player must click on the randomly generated alphabet that was chosen earlier to win 4 points. If the player clicks on the wrong alphabet, 3 points are deducted. Therefore, the game score can become negative if the player clicks on many wrong alphabets. For example, if the chosen alphabet is "X" and the randomly generated alphabets are "A", "X" and "W", clicking on the 2nd alphabet "X" will gain 4 points. Clicking on the alphabet "W" will result in losing 3 points. The current score is displayed on the top right corner of the table. It must be updated in real-time as the player plays the game. Try to have the font size, foreground and background colours as close as possible to what are shown ahnve
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
When the player clicks on the “Start Game” button, in every 1 seconds, three random alphabets will be generated and flashing on the screen (e.g. A X W) at the position as shown above. The three alphabets must not repeat at the same time (i.e. can’t have repeating alphabets – e.g. A X A). After starting a game, you can’t change the chosen alphabet.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 6 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education