Design and write a computer game program

Assignment Help C/C++ Programming
Reference no: EM132109278

The project is to design and write a C++17/FLTK computer game program with a graphical user interface.

The object of the game is to keep the computer from guessing the player's next choice of two possible values. We will call the choices "heads" and "tails" below, but you are free to use maroon/white, on/off, up/down, 0/1, etc. instead.

The player starts by making a certain number of choices, attempting to be as random as possible, which the computer observes. Then for each of the following choices the computer guesses in advance, and then compares its guess to the next choice.

or difficulty level 1 (see below) there are 32 choices in the observation phase and 32 choices in the guessing phase. The player earns 10 points for each choice the computer guessed wrong, so for difficulty level 1 the maximum score is 320.

my parts are :

Ask for the player's initials and display them with a blank score below the top 5 scores.

Instruct the player to make that many choices, attempting to be as random as possible, and show how many choices remain. For example, for difficulty level 1 the setup screen might say "You have 32 choices to go; click Heads or Tails."

Reference no: EM132109278

Questions Cloud

Should all countries have the same environmental standards : Should all countries have the same environmental standards? What about the same labor standards? Justify your answers.
Designing and implementing a mini search engine : You are probably familiar with Google, Bing or Yahoo, which are some of the most popular search engines that you can find on the Web.
What is the breakeven price : a. If forecasted sales are 5 million tablets, what is the breakeven price? b. Should Prescott discontinue selling this product?
Write a python class definition for class sumi : Write a python class definition for class ‘Sumi' with a single instance variable self.num of type ‘int' and single instance method called "sum_of_digits".
Design and write a computer game program : The project is to design and write a C++17/FLTK computer game program with a graphical user interface.
Provide a student with a tool to use to properly identify : The purpose of this project is to provide a student with a tool to use to properly identify, count, grade and average students' scores in a course.
Approximation for statistical inference in theoretical terms : 1. The central limit theorem A. is implied by the law of large numbers.
Spaghetti and tomato sauce : What price can be settled between these two parties such that both individuals can enjoy more of spaghetti and tomato sauce?
Visualize the impact of the automation : practical laboratory exercises to automate a business process, and to visualize the impact of the automation - Assignment - Parchment Bonanza

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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