-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.cpp
More file actions
24 lines (20 loc) · 784 Bytes
/
Copy pathmain.cpp
File metadata and controls
24 lines (20 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*********************************************************************
* Program name: Rock, Paper, Scissors
* Author: Noah Buchen, Alexandra Henley, Elliott Lapinel, Patrick
* Rice, and Samantha Tone
* Date: 10/25/2017
* Description: A game of Rock paper scissors. Similar to playing on
* the playground except you can set the strength of players. Game
* is equiped with a AI that makes decision based on player history.
*********************************************************************/
#include "RPSGame.hpp"
int main() {
// rand() function needs to be seeded only one time. Seeding
// happens here so that it is only called once.
unsigned seed;
seed = time(0);
srand(seed);
RPSGame rps;
rps.playGame();
return 0;
}