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:
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.
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.
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
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.
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
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
Dynamic Memory / Pointers
The following will be graded on the performance of your game:
Runs completely without crashing, game interface is intuitive and easy to use.
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.