#include <algorithm> #include <iostream> #include <sstream> #include <string> #include <deque> #include <cstdlib> #include <ctime> using namespace std; enum { ROCK = 0, PAPER = 1, SCISSORS = 2 }; enum { WIN = 0, LOSS = 1, DRAW = 2 }; const string moveStrTable[3] = { "rock", "paper", "scissors" }; const string outcomeStrTable[3] = { "You win!", "You lose...", "It's a draw." }; const int outcomeTable[3][3] = { { DRAW, LOSS, WIN }, { WIN, DRAW, LOSS }, { LOSS, WIN, DRAW }, }; const int winMoveTable[3] = { PAPER, SCISSORS, ROCK }; struct RPSAI { const deque<int> & humanMoves; RPSAI(const deque<int> & hm) : humanMoves(hm) { } struct Guess { int move; double strength; Guess() { } Guess(int m, double s) : move(m), strength(s) { } }; Guess bestGuessForPattern(const deque<int> & pattern, bool & matchFound) { matchFound = false; double ms[3] = { 0.0 }; // move strength for (int i = 1; i < humanMoves.size() - pattern.size() + 1; ++ i) { if (pattern == deque<int>(humanMoves.begin() + i, humanMoves.begin() + i + pattern.size())) { ms[humanMoves[i - 1]] += 10.0 / i; matchFound = true; } } int msi[3] = { 0, 1, 2 }; // move strength indexes int maxi = *max_element(msi, msi + 3, [ms](int a, int b) { return ms[a] < ms[b]; }); return Guess(winMoveTable[maxi], ms[maxi] * 10.0 * pattern.size() * pattern.size()); } int nextMove() { if (humanMoves.empty()) return rand() % 3; deque<Guess> guessList; for (int i = 1; i <= 20; ++ i) { if (humanMoves.size() < i) continue; bool matchFound = false; Guess guess = bestGuessForPattern(deque<int>(humanMoves.begin(), humanMoves.begin() + i), matchFound); if (matchFound) guessList.push_back(guess); } if (guessList.empty()) return rand() % 3; return max_element(guessList.begin(), guessList.end(), [](const Guess & g1, const Guess & g2) { return g1.strength < g2.strength; })->move; } }; bool getInt(int & n) { string str; getline(cin, str); return stringstream(str) >> n; } int main() { srand(time(0)); int humanMove, computerMove; int outcome, outcomes[3] = { 0 }; deque<int> humanMoves; RPSAI ai(humanMoves); while (true) { cout << "Wins : " << outcomes[WIN ]; cout << "\nLosses : " << outcomes[LOSS]; cout << "\nDraws : " << outcomes[DRAW]; cout << "\n\n(1) [Rock] \n(2) [Paper] \n(3) [Scissors] \n(4) [Quit] \n\n>"; int choice; //while (!getInt(choice) || choice < 1 || choice > 4) cout << ">"; cin >> choice; // for ideone demo if (choice == 4) break; humanMove = choice - 1; computerMove = ai.nextMove(); cout << "\nYou chose " << moveStrTable[ humanMove] << ".\n"; cout << "I chose " << moveStrTable[computerMove] << ".\n"; outcomes[outcome = outcomeTable[humanMove][computerMove]] ++; cout << '\n' << outcomeStrTable[outcome] << '\n' << endl; humanMoves.push_front(humanMove); if (humanMoves.size() > 100) humanMoves.pop_back(); } }
1 1 1 1 1 3 3 3 3 3 2 2 2 2 2 1 2 1 2 1 2 1 2 1 2 3 1 3 1 3 1 3 1 3 1 3 2 1 3 2 1 3 2 1 3 2 1 2 2 3 3 1 2 2 3 3 1 2 2 3 3 1 2 3 2 1 2 3 2 1 2 3 2 1 2 3 2 1 3 3 1 2 3 3 1 2 3 3 1 2 3 3 1 2 1 1 2 2 3 3 2 2 1 1 1 1 2 2 3 3 2 2 1 1 1 1 2 2 3 3 2 2 1 1 3 3 3 3 3 1 1 1 1 1 2 2 2 2 2 1 2 3 2 1 2 3 2 1 2 3 2 1 2 3 2 1 2 2 3 2 2 1 2 2 3 2 2 1 4
Wins : 0 Losses : 0 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 0 Losses : 1 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 0 Losses : 2 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 0 Losses : 3 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 0 Losses : 4 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 0 Losses : 5 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose paper. You win! Wins : 1 Losses : 5 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 1 Losses : 6 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 1 Losses : 7 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 1 Losses : 8 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 1 Losses : 9 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 2 Losses : 9 Draws : 0 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 2 Losses : 9 Draws : 1 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 2 Losses : 10 Draws : 1 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 2 Losses : 11 Draws : 1 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 2 Losses : 12 Draws : 1 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 3 Losses : 12 Draws : 1 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 3 Losses : 12 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 4 Losses : 12 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 4 Losses : 13 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 4 Losses : 14 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 4 Losses : 15 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 4 Losses : 16 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 4 Losses : 17 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 4 Losses : 18 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 4 Losses : 19 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose paper. You win! Wins : 5 Losses : 19 Draws : 2 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose rock. It's a draw. Wins : 5 Losses : 19 Draws : 3 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 5 Losses : 19 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 20 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 5 Losses : 21 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 22 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 5 Losses : 23 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 24 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 5 Losses : 25 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 26 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 5 Losses : 27 Draws : 4 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 5 Losses : 27 Draws : 5 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 28 Draws : 5 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 5 Losses : 28 Draws : 6 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 5 Losses : 28 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 29 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 5 Losses : 30 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 5 Losses : 31 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 32 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 5 Losses : 33 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 5 Losses : 34 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 5 Losses : 35 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 6 Losses : 35 Draws : 7 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 6 Losses : 35 Draws : 8 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 6 Losses : 35 Draws : 9 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 6 Losses : 35 Draws : 10 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose rock. It's a draw. Wins : 6 Losses : 35 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 7 Losses : 35 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 7 Losses : 36 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 7 Losses : 37 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 7 Losses : 38 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 7 Losses : 39 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 7 Losses : 40 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 7 Losses : 41 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 7 Losses : 42 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 7 Losses : 43 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 7 Losses : 44 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 7 Losses : 45 Draws : 11 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 7 Losses : 45 Draws : 12 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 8 Losses : 45 Draws : 12 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose rock. It's a draw. Wins : 8 Losses : 45 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 9 Losses : 45 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 46 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 47 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 9 Losses : 48 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 49 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 50 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 51 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 9 Losses : 52 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 53 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 54 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 55 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 9 Losses : 56 Draws : 13 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 9 Losses : 56 Draws : 14 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 9 Losses : 56 Draws : 15 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose rock. It's a draw. Wins : 9 Losses : 56 Draws : 16 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 57 Draws : 16 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 58 Draws : 16 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 9 Losses : 58 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 9 Losses : 59 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 60 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 61 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 62 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 9 Losses : 63 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 64 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 65 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 9 Losses : 66 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 9 Losses : 67 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 9 Losses : 68 Draws : 17 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose rock. It's a draw. Wins : 9 Losses : 68 Draws : 18 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 10 Losses : 68 Draws : 18 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 10 Losses : 68 Draws : 19 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 11 Losses : 68 Draws : 19 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 11 Losses : 68 Draws : 20 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 11 Losses : 69 Draws : 20 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 11 Losses : 69 Draws : 21 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 11 Losses : 69 Draws : 22 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 12 Losses : 69 Draws : 22 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 13 Losses : 69 Draws : 22 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 14 Losses : 69 Draws : 22 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 14 Losses : 70 Draws : 22 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 14 Losses : 70 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 15 Losses : 70 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 15 Losses : 71 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 15 Losses : 72 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 15 Losses : 73 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 15 Losses : 74 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 15 Losses : 75 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 15 Losses : 76 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 15 Losses : 77 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 15 Losses : 78 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 15 Losses : 79 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 15 Losses : 80 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 15 Losses : 81 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 15 Losses : 82 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 15 Losses : 83 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 15 Losses : 84 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 15 Losses : 85 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 15 Losses : 86 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose paper. You win! Wins : 16 Losses : 86 Draws : 23 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 16 Losses : 86 Draws : 24 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 16 Losses : 87 Draws : 24 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 16 Losses : 88 Draws : 24 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 16 Losses : 89 Draws : 24 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose rock. It's a draw. Wins : 16 Losses : 89 Draws : 25 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 17 Losses : 89 Draws : 25 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 17 Losses : 90 Draws : 25 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 17 Losses : 91 Draws : 25 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 17 Losses : 92 Draws : 25 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 17 Losses : 92 Draws : 26 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 17 Losses : 93 Draws : 26 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 18 Losses : 93 Draws : 26 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 18 Losses : 94 Draws : 26 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 18 Losses : 95 Draws : 26 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose scissors. You win! Wins : 19 Losses : 95 Draws : 26 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 19 Losses : 95 Draws : 27 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 19 Losses : 95 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 20 Losses : 95 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 20 Losses : 96 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 20 Losses : 97 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 20 Losses : 98 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 20 Losses : 99 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 20 Losses : 100 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 20 Losses : 101 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 20 Losses : 102 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 20 Losses : 103 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 20 Losses : 104 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 20 Losses : 105 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 20 Losses : 106 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 20 Losses : 107 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 20 Losses : 108 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 20 Losses : 109 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 21 Losses : 109 Draws : 28 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose scissors. It's a draw. Wins : 21 Losses : 109 Draws : 29 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 21 Losses : 110 Draws : 29 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose paper. It's a draw. Wins : 21 Losses : 110 Draws : 30 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose rock. It's a draw. Wins : 21 Losses : 110 Draws : 31 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 21 Losses : 111 Draws : 31 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose rock. You win! Wins : 22 Losses : 111 Draws : 31 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose scissors. I chose rock. You lose... Wins : 22 Losses : 112 Draws : 31 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 22 Losses : 113 Draws : 31 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose paper. I chose scissors. You lose... Wins : 22 Losses : 114 Draws : 31 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] > You chose rock. I chose paper. You lose... Wins : 22 Losses : 115 Draws : 31 (1) [Rock] (2) [Paper] (3) [Scissors] (4) [Quit] >