Three flowcharts and the game board for your mousetrap game should be submitted. You can use board_design.pdf to help you lay out your board. Basically, you can use any shapes you want for the game board spaces (a cylinder is probably the default shape to use), and you can use any object as your "mouse". Just make sure that your game board follows a hexagonal (honeycomb) pattern, as demonstrated in the 'board_design.pdf' file. Let us know if you have any questions about the board layout.
1. Part of the homeworks in this course will be to implement the
Various steps of this game will be implemented in subsequent homeworks. In Homework 3, you will create a world for the mouse trap game. The scene must have places for the animal (or whatever object you choose) to stand, some raised up (an obstacle for the animal) and some lowered (leaving an open space for the animal's movement), in a hexagonal (or honeycomb) pattern. The animal must be standing atop the center place, which must be in the down position. The objects in the scene are to be taken from the Gallery. Submit your Alice world containing your game board (a minimum of 18 game spaces are required), some of the game spaces raised and the others lowered, and your character standing in the middle of the board. The game logic will be implemented in future homework.
2. The sequence of actions and events in a single-player game, such as the mousetrap game, can be abstracted, that is described by generalized essentials without details specific to the particular game. Make a flow-chart from the following abstract actions and events. Please use the flowcharts in the lecture slides to get a better idea on how to create your flowchart. You should use only the flowchart symbols found there. You will need to correctly reorder the actions and events, which consist of the following:
* Setup game
* If Player loses, Game over, otherwise Continue
* If Player wins, Game over, otherwise Continue
* Show instructions
* Game reacts (with apparent randomness)
* Player acts
Next, make a flow-chart for each (that is, 2 flowcharts should be created) of the following actions and events for the mousetrap game:
* Player acts
* Player loses
In these algorithms, you must have single steps, not steps that require many actions. For example, you can't have: "Move to an open space" or even "Check for an open space", because both require multiple actions - determining if the mouse is on multiple spaces.
For both of these algorithms, state the input(s) and the output(s). Acceptable formats for the document file include Microsoft Word and PDF. Name your file, "hw3".