In Progress

Text based C++ games

I need five simple text based C++ games: Queens, Logic, Soldier2, Soldier3 and the final. I have completed Soldier1 and started Soldier2 which I have included as zipped files. I want to keep it simple as possible and cheap. The final is due on the 10th of Dec. but I would like to have this done early next week, although the sonner the better.

Specs for C++ projects:

Queens:

An 8x8 grid should be created which will act like a chessboard. The user is given the option of putting a 'queen' on the board at whichever coordinates they choose. Each queen should check for another queen horizontally, vertically, and diagonally If any queens are discovered, then they should be removed from the board. If 8 queens are placed, then the game is over. There should be the following functions at least:

PlaceQueen – Places a new queen on the board

CheckQueen – Checks to see if a queen is present horizontal, vertical or diagonal from the currently placed queen

For the board you can use either an array or vector. The board must be passed to both functions by reference.

Logic:

This game should create a series of hidden symbols which the player needs to guess which symbols and the order. The symbols are !, @, &, and %. The string created using these symbols should have them in any order. The user gets to say how many symbols are in the string. Once the user selects the number, then the string is created randomly, and the user can then guess. There should be functions for creating the string and for comparing it to the player's choice. The string needs to be passed as a pointer to each of these functions

They player should be presented with how many characters where guessed correctly in that order. For example, if the hidden string was !!%@ and the user put in !%!@ then there would be two correct because the same character is at index 0 and index 3.

Soldier 1:

Using classes, a soldier class should be created. The soldier class will have at least 2 properties. One for ammo and one for stamina. The soldier should have the ability to:

Fire (reduces ammo)

March (reduces stamina)

Reload (restores ammo)

Rest (restores stamina)

DisplayStats (displays stamina and ammo)

The player should then be able to create a soldier and run through the different commands

Soldier 2:

Using inheritance, this program will allow the creation of different types of soldiers based on the Soldier base class. Each type of soldier should handle marching and fireing differently.

For example:

A scout would have less ammo, and would use up less stamina to march

A machine gunner would have more ammo, but go through it quicker

A flamethrower would use up more stamina by marching

Again, the program should create the different soldiers and allow the player to run through the commands

Soldier 3:

Using polymorphism, this program will allow the user to create whichever soldier they would like to create. A Soldier pointer should be created which points to whichever derived class the player creates. Another soldier should be created for the player's soldier to fight. No regular soldier units should be able to be created, because Soldier should be an abstract class. For the fight, a health property should be added with the appropriate methods for handling it.

The final project can be about anything, I believe in the KISS principle, keep it simple stupid. The last couple of concepts are optional.

Final Project specs:

The following will be graded on the use of each of these concepts from each chapter within your program:

:

Effect use of variables and types

If Statements / Loops

For Loops / Strings

Vectors / Iterators

Functions

References

Classes

Dynamic Memory / Pointers

Polymorphism

The following will be graded on the performance of your game:

Runs completely without crashing, game interface is intuitive and easy to use.

Skills: C Programming

See more: text based games, text based game loops, text based game using class, based games project, text based projects, Text Based Game, text based interface, text based game project, creating simple text based games, vector vector string, vector strings, vector string, vector order, vector of strings, vector iterators, vector in c, vector concepts, vector c, up string, text to string, text easy, string vector, performance board, how many references should i have, c vector example

About the Employer:
( 2 reviews ) Wichita, United States

Project ID: #561705

Awarded to:

sigutis

Hello Quite basic stuff. I could finish the games specified today and one more day for the final game. May I suggest it would be some text space shooter? I've done one before.

$30 USD in 3 days
(6 Reviews)
1.6
rakib062

Hello sir, I have over 3 years of experience in c++.I did several projects under my academic course.I have finished algorithm course and done several logical programming project.I hope I can do this job [url removed, login to view] More

$40 USD in 2 days
(7 Reviews)
3.8
sameerrathoud

I can do this job.

$30 USD in 3 days
(1 Review)
0.0

9 freelancers are bidding on average $139 for this job

yuriiz

Hello, I can implement this games.

$250 USD in 3 days
(11 Reviews)
4.0
antonalexraja

Please see PM

$250 USD in 7 days
(1 Review)
2.0
BillYing

Please see the PM

$150 USD in 5 days
(0 Reviews)
0.0
JaneAne

Hello. I am using C/C++ for ten years. This program is easy because i understand these sources. Please contact me.

$100 USD in 5 days
(0 Reviews)
0.0
ChristJimmy

I'm very experienced in C/C++. I don't want to say no longer about that. Whether you believe it or not, it doesn't matter. Please give me the opportunity to work with you. Hope your good reply. Thanks, Christ Jimm More

$350 USD in 7 days
(0 Reviews)
0.0
Srinilancer

Hi I can do this for u. Please PM with details !!

$100 USD in 7 days
(0 Reviews)
0.0
sasi666

I can do this

$50 USD in 3 days
(0 Reviews)
0.0