430 likes | 896 Views
Following is a prototype of a Tic Tac Toe program. The main goal of the program is to provide quick and simple entertainment. It should also be usable by young children who are still learning the game, so it will give constructive feedback when the player is making an obvious mistake.
E N D
Following is a prototype of a Tic Tac Toe program. The main goal of the program is to provide quick and simple entertainment. It should also be usable by young children who are still learning the game, so it will give constructive feedback when the player is making an obvious mistake. Tic Tac Toe Prototype
First Story – The human player wins. Tic Tac Toe Prototype
Tic Tac Toe Click Here Human’s Turn
Tic Tac Toe Click Here X Click to see Computer’s Move
Tic Tac Toe X Human’s Turn O Click Here
Tic Tac Toe Click Here X Click to see Computer’s Move O X
Tic Tac Toe Click Here X Human’s Turn O O X
Tic Tac Toe Click Here X X Click to see Computer’s Move O O X
Tic Tac Toe Click Here X X Human’s Move O O O X
Tic Tac Toe Click Here X X X Game Over Click to play again O O O X X Wins!
Tic Tac Toe Prototype Second Story Human loses
Tic Tac Toe Click Here Human’s Turn
Tic Tac Toe Click Here X Click to see Computer’s Move
Tic Tac Toe X Human’s Turn O Click Here
Tic Tac Toe Click Here X Click to see Computer’s Move O X
Tic Tac Toe X Human’s Turn O Mistake O X
Tic Tac Toe Click Here X Click to see Computer’s Move O X O X
Tic Tac Toe X O Game Over Click to play again O X O X Computer Win’s
Tic Tac Toe Prototype Third Story Computer warns humanwhen they make astupid move
Tic Tac Toe Click Here Human’s Turn
Tic Tac Toe Click Here X Click to see Computer’s Move
Tic Tac Toe X Human’s Turn O Click Here
Tic Tac Toe Click Here X Click to see Computer’s Move O X
Tic Tac Toe X Human’s Turn O Mistake O X
Tic Tac Toe X Click here to confirm your stupid move –otherwise click a different square – the green square is recommended. O ? O X
Tic Tac Toe X O Game Over Click to play again O X O X Computer Win’s
Tic Tac Toe Prototype Various examples
Tic Tac Toe X Human’s Turn O Cheater clicks here O X
Tic Tac Toe X Human’s Turn O O X You cannot play there – that square is already taken
Tic Tac Toe New Game Click Hereto play O Human Moves First Computer Moves First
Tic Tac Toe Human’s Turn X
Tic Tac Toe X O X Cat’s game (draw) Click here to restart X O O O X X This game is a draw
Tic Tac Toe Prototype It is not necessary to show every possible user story. After you have shown a few, you can write the rest in text. For example: Sample GamesBeginners want to see some sample games so they can learn more quickly. The program could have a database of sample games, and run in “Demo” mode to display them.
Tic Tac Toe Prototype It is helpful to name the stories (scenarios).This prototype showed the following: • Human Player Wins • Computer Wins • Computer Warns About Stupid Move • Computer Rejects Cheater Moves • Human Chooses Playing X or O • Computer Stores and Displays Demo Games • Computer Recognizes a Drawn Game
PowerPoint for Prototypes It is not a requirement to use PowerPoint for your prototype(s), but it has several advantages: • Puts the programmer in the right “mood” • Screen design is quick and easy • It keeps sample screens organized • Can easily copy and paste new screens • Gives the user a “feeling” for the features • You can easily save, modify, and print screens
Prototypes and Automation • Don’t waste time trying to automate your prototype – the stories can be linear • Keep notes about automation that will be required in your solution – for example:- Computer “knows” the rules- Computer can recognize a winning move- Computer recognizes game over, including a tie