Ditutup

game version 1

I need you to develop some software for me. I would like this software to be developed using C or C++. In this game, a player is asked by computer to type in several animal names such as "dog," "cat," etc., in the beginning of the game session. There is no limit to the count of the names but these names must be space delimited. When entering a return key without typing anything (i.e., empty line), this process of input cycle ends. So, use getline()discussed in recent lecture to realize this input logic - the concrete process to tokenize each name can be reproduced from lectured coding demonstration.

The computer will pick up 1 to 3 names from those entered by the player. They are shuffled to produce a random word. The player will be asked to identify the names, given a hint of how many animals in that word. The player needs to type in names (or a name if asked one). Typing "?" will show the name list, and typing "quit" will end the game.

When succeeding to answer in two consecutive rounds, the computer's challenge becomes harder by striking out a character one by one. The position to strike out is chosen at random. So, succeeding 4 consecutive times, the random word has two strikes out shown by underscore "_" characters. On the other hand, failing to answer in two consecutive rounds, the computer's challenge becomes easier by reducing the count of strikes out. The sample session follows.

Enter at least five animal names, e.g., cat, dog, etc...

> dog cat

> snake zebra

> tiger

>

1: dog

2: cat

3: snake

4: zebra

5: tiger

What are 2 animals in "gbzeoard" ? zebra dog

Yes!

What are 2 animals in "dgaoct" ? dog cat

Yes!

Succeeded two consecutive times, challenge goes up!

What are 1 animal in "ezar_" ? zebra

Yes!

What are 1 animal in "do_" ? dog

Yes!

Succeeded two consecutive times, challenge goes up!

What are 1 animal in "z__ae" ? zebra

Yes!

What are 2 animals in "okadg__n" ? dog snake

Yes!

Succeeded two consecutive times, challenge goes up!

What are 1 animal in "_ke__" ? snake

Yes!

What are 2 animals in "e_d_g_ir" ? tiger dog

Yes!

Succeeded two consecutive times, challenge goes up!

What are 3 animals in "et_s__era_ngk" ? cat zebra snake

Nope!

What are 1 animal in "__i__" ? dog snake

Your number of input is incorrect. Enter again: dog

Nope!

Missed two consecutive times, challenge goes down!

What are 1 animal in "___" ? cat

Yes!

What are 3 animals in "koge__zsaa_db" ? ?

1: dog

2: cat

3: snake

4: zebra

5: tiger

Your number of input is incorrect. Enter again: quit

Bye...

This assignment will ask you to use <string>, string::getline(), <vector> and random_shuffle() or shuffle() from <algorithm> to reduce the amount of coding. You can find many examples on the Web -- see here for instance.

Kemahiran: Pengaturcaraan C, Pengaturcaraan C++, Kejuruteraan Perisian

Lihat lagi: create a ride 2 y8, create a ride unblocked, create a ride 1, nascar paint booth, create a ride 4, create a ride version 2, create a ride 3, create a ride game, You are given n numbers in an array A. Describe an efficient parallel algorithm for sorting the numbers in the array A using p , You are given n numbers in an array A. Describe an efficient parallel algorithm for sorting the numbers in the array A using p p, X(n) = -0.7X(n+1) + 0.15X(n-2)., 3 test siger !-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In -- svg version=\ 1.1\ xmlns=\ http://www.w3.org/2, Project for subhapam as per Proposal Document – Version 1.2, raspunsuri logo game pack 1, logo game pack 1 respuestas

Tentang Majikan:
( 0 ulasan ) United States

ID Projek: #15909932

16 pekerja bebas membida secara purata $121 untuk pekerjaan ini

vrcoder

Hi, offering to help implementing the animal game with attention to detail and plenty of comments. Experience: C++, hundreds of similar projects on this site with excellent feedback.

$50 USD dalam sehari
(288 Ulasan)
7.3
freelancerLatino

Hello, I am expert with C and C++ since more than 20 years ago ... I should be a good option for this project. I bid for 2 days due to the christmass...But I can do it in 1 day. Let me know the deadline. BEst regards!

$100 USD dalam 2 hari
(111 Ulasan)
7.2
hbxfnzwpf

I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows envir Lagi

$100 USD dalam 2 hari
(135 Ulasan)
7.0
$166 USD dalam 3 hari
(14 Ulasan)
5.8
itwonder1

Hello I can make your game app I am c expert I had developed many apps like yours I am highly interested in your project Please contact me Best regards

$100 USD dalam 3 hari
(20 Ulasan)
4.9
PATechnology

A proposal has not yet been provided

$50 USD dalam 2 hari
(22 Ulasan)
4.0
Mickelson

Hi Nice to meet you I read your requirements I developed exact project I know it is homework Don't waste time, I will send you source code right now You can review my profiles kind regards.

$100 USD dalam 3 hari
(14 Ulasan)
4.0
$88 USD dalam 2 hari
(10 Ulasan)
3.3
shubhamj1995

I have read the description I am computer science engineer with good knowledge of C/C++ and data structures and I can get your work done fast. contact if you have any query

$45 USD dalam 3 hari
(14 Ulasan)
3.1
sakshamkhanna

I have extensive experience in C/C++ programming and I have worked on many console based mini-games. I have read and understood the project requirement and I am more than capable of doing that. I will do exactly as you Lagi

$40 USD dalam 2 hari
(1 Ulasan)
1.9
PoitierStringer

I believe I bid on another one of your projects. What I said there there applies here as well. This stuff is second nature to me. You can checkout the Github link I posted on the other proposal and ask if you would lik Lagi

$277 USD dalam 3 hari
(0 Ulasan)
0.0
$70 USD dalam 3 hari
(0 Ulasan)
0.0
springware

I am a c++ expert. I have a lot of algorithm knowledge and experience of programming. This kind project is very simple.

$388 USD dalam 3 hari
(1 Ulasan)
0.0
$35 USD dalam sehari
(0 Ulasan)
0.0
wade2000hk

i am a good C/C++ candidate. i can done this project in 3 days. if you have any question please let me know.

$222 USD dalam 3 hari
(0 Ulasan)
0.0
marlinnium

I have actually done some C software similar to this project. No problem doing this one in a day for you.

$100 USD dalam 3 hari
(0 Ulasan)
0.0