Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- printf("Please select a strategy for the computer to use:\n");
- printf("1. Computer strategy 1\n2. Computer strategy 2\n");
- printf("\nWhich strategy do you select? ");
- scanf("%d", chosenStrategy);
- if(chosenStrategy == 1) {
- printf("Computer will use strategy 1, good luck!\n\n");
- playerTurn();
- printf("-----*****-----");
- /*finish
- computerStrat1();*/
- }
- if(chosenStrategy == 2) {
- printf("Computer will use strategy 2, good luck!\n\n");
- for(i=0; i<=10; i++) {
- roundScore = playerTurn();
- roundScore = ps[round];
- printf("-----*****-----");
- computerStrat2();
- printBoard(ps, cs, round);
- }
- }
Add Comment
Please, Sign In to add comment