Write C++ Source code - homework - Game Rock Papper Scissors
$10-30 USD
Completed
Posted about 10 years ago
$10-30 USD
Paid on delivery
RockPaperScissors Requirement:
The specifications are as follows:
1. Class name: RockPaperScissors
2. Member variables:
two arrays:
int playerChoices[2]; //[0] is player1, [1] is computer
int playerRecords[2]; //[0] is player1, [1] is computer
3. Member functions:
constructor if needed //public function
genRandomNum() //private function, for computer to pick a number from 1-3, 1: rock, 2: paper, 3: scissors
player2Pick() // private function, player 2 is the computer
player1sPick() //public function, you may do cin to get a number from stdin
checkWinner() //public function, deciding who wins
displayRecords() //public function, displaying the records of each player and the winner.
*(optional) Can you display some colored text or graph based on our first assignment to make the display more interesting?
any necessary getter/accessor and setter/mutator functions
4. main() function
a. instantiate an object of RockPaperScissors
b. create a while loop to play the game. The game will stop upon user's input choice. (say, each time, you ask the user: 'do you want to play again?' If the user inputs: yes, continue; no, abort the game and display the records)
Please add any necessary functions and variables as you see fit.
I have attached the file i worked on. Now need help because i am a beginner.
Hello,
I am a final year engineering graduate and I have some good expertise in working with C, C++ and .NET. I have done a couple of projects in C++ such as telephone billing system, database management etc.
I understand the problem statement very well and I suppose I would be able to complete it within 2-3 hours.
If you need more colours and graphics It would take further time to develop it.
I can provide you with features such as password authentication, welcome screens, multiple player records, high score etc.
If you wish to allocate this project to me kindly do contact me.
I am specialize in C++,C#.net,ASP.Net,JAVA, PHP, MySQL, Wordpress, Web Designing and framework like CodeIgniter. my aim to deliver quality products to our customers within specified deadline.
If hired by you I will put in my best work. I am ready to be hired by you and start work on your jobs.
I have extensive experience in C++ and this one is very easy.
I can finish the thing for you and/or I can also teach you, thus the price.
If you have lots of questions I can work a little longer, but 2 days tops. The budget would be the same.
Anyways, good luck and contact me if you want to discuss further,
Alberto Ferreira