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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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