Create dice roll game

Assignment Help Basic Computer Science
Reference no: EM132883482

1. Create a Dice Roll Game with the following features:

a. Uses 2 dice (ensure that each die has a separate random seed)

b. Each die has face values from 1 to 6

c. Both dice are rolled at the same time when a button is clicked

d. A game consists of a maximum of 5 attempts per user, but a user can have as few as one attempts

e. The game will end for a user after the 5th attempt has been completed, or when the user uses the Exit button

f. The high scores for every game will be written to disk (appended, if records already exist): you will record the user's name, the date, and the score in a file called GameScores

i. Ensure that this happens before the game is closed.

g. At the start of the game

i. Ask for the User's First Name

ii. Save this name in a variable

iii. At each attempt, save the total sum of the 2 dice thrown as a single number

iv. As the user progresses through the attempts, keep only the highest score

h. When the game ends for a user

i. Write the results for the game to disk (append operation) to the GameScores file

1. Record the User's Name. the Date, and the Highest score.

2. Close the file

ii. Open again the GameScores file and Read the contents

iii. Sort the data, pick the top 5 scorers with their dates and names.

iv. Display the top 5 scorers Names, Date, and score in a box with the label Top 5 Scorers.

i. Ask the User if he/she wants to play again

1. If the user says Yes, start a new game

2. If the user says no. exit the application

2. Choose the necessary Control Items for your Form as well as their placement.

a. Remember to use your initial when naming the project or its sections

3. Make the Interface as fancy as you want.

4. What you need to send:

a. Flow Chart

b. Pseudocode

c. Complete Project Folder (not the *sln alone)

i. Components of the Project should start with your Initials.

ii. The contents of the folder and flowchart and pseudocode files should be in one zip file with your name in the file name.

Reference no: EM132883482

Questions Cloud

Span port that you might use as forensic investigator : Explain three possible uses of a SPAN port that you might use as a forensic investigator. Describe three non-Ethernet protocols Wireshark can capture.
The key components of data mining : We focus on the introductory chapter in which we review data mining and the key components of data mining.
Telepresence and virtual presence : We live in a society where there are all many forms of presence. Most recently, we have had to resort to telepresence and virtual presence.
What about the remote control makes the device : What about the remote control makes the device both a good and bad example for the usability perspective?
Create dice roll game : Create a Dice Roll Game with the features: Choose the necessary Control Items for your Form as well as their placement.
Information systems research in digital world : This journal article was focused on the Complexity of Information Systems Research in the Digital World.
Information and communication technology : The recent advances in information and communication technology (ICT) has promoted the evolution of conventional computer-aided manufacturing industry
Big data analytics in e-healthcare industry : There are several benefits as well as challenges associated with the use of Big Data Analytics in the e-Healthcare industry.
Design and implement network : Your consulting company has been hired to design and implement a network for a small to mid-sized vertically integrated sales and manufacturing company

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Important role of computer security profession

An important role of the computer security profession involves efforts to uphold policy and training.

  Humans to trucly understand the implications these advances

When technology is advancing at a pace that some believe is too fast for humans to trucly understand the implications these advances may have.

  What are the differences between facebook and linkedin

What are the differences between Facebook and LinkedIn? How might each of these social medial sites help or hurt your career?

  Explain performance measures for balanced scorecard system

Explain three specific performance measures which could be utilized in Balanced Scorecard system in industry of your choice.

  Fire is one of the most devastating elements

Fire is one of the most devastating elements that can destroy the physical components of an entity quickly.

  Explain richard dewitt worldview in detail

Explain Richard Dewitt's worldview in detail from chapter 1 and tease out and make clear the Dewitt's line of reasoning for it

  Annual equivalent cost as a positive number

Assume that machine B will be available in the future at the same costs. Enter the Annual Equivalent Cost as a positive number of the preferred machine.

  Stories about the accuracy of wikipedia

What is the lesson learned from the stories about the accuracy of Wikipedia?

  Executive summary on the blackout

Please provide a one page executive summary on the Blackout of 2003. Your summary should not exceed one single spaced page and should include Who, What, When, Where, Why and How the situation could have been handled or perhaps how the situation wa..

  What is the overloaded stream extraction

Create a user-defined class Point that contains the private integer data members x Coordinate and y Coordinate and declares stream insertion and stream.

  Propose how you could represent positive numbers

Propose how you could represent positive numbers, negative numbers, and zero alike in binary.

  Problems associated with a reactive risk strategy

Provide five examples from other fields that illustrate the problems associated with a reactive risk strategy.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd