Skip to content
Snippets Groups Projects
Commit b0659988 authored by qingyuw2's avatar qingyuw2
Browse files

README finished

parent ae4d61bb
Branches assignment1.2
No related tags found
No related merge requests found
manual_test/0.png

44.1 KiB

# Manual Test Plan
compile and run code through terminal
```
javac startGame.java
java startGame
```
## Start Scene of the Game
Shown in 0.png. To run on your computer, please comment out all the lines except line 7.
## During the Game
Shown in 1.png, 2.png, and 3.png. To run on your computer, please comment out all the lines except line 8-line15
## Select Color After Wild Card
Shown in 4.png. To run on your computer, please comment out all the lines except line8 and line 16.
## Discard Reshuffled into Deck
Shown in 5.png. To run on your computer, please comment out all the lines except line 8 and line 17.
## End Scene of the Game
Shown in 6.png. To run on your computer, please comment out all the lines except line 8 and line 18.
\ No newline at end of file
......@@ -4,16 +4,17 @@ import java.util.concurrent.TimeUnit;
public class startGame {
public static void main(String[] args) throws InterruptedException {
Game game = new Game(3);
game.printCurrentGameState();
TimeUnit.SECONDS.sleep(5);
game.setTurn(1);
game.printCurrentGameState();
TimeUnit.SECONDS.sleep(5);
game.setTurn(2);
game.printCurrentGameState();
game.printWildSelection();
game.printReshuffle();
game.printGameEnd();
System.out.println("Welcome to UNO! How many player will play?");
// Game game = new Game(3);
// game.printCurrentGameState();
// TimeUnit.SECONDS.sleep(5);
// game.setTurn(1);
// game.printCurrentGameState();
// TimeUnit.SECONDS.sleep(5);
// game.setTurn(2);
// game.printCurrentGameState();
// game.printWildSelection();
// game.printReshuffle();
// game.printGameEnd();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment