B. User Manual

Welcome to Snake!

The objective of this game is to obtain the highest score possible by increasing the length of the snake to take up the full screen.

To begin, open the MATLAB file containing Snake. When ready to begin the game, go to the editor tab and click the Run button to run the program.

Ensure that the “highscores” Excel file is in the current directory in MATLAB. Any high scores earned will be stored there. However, due to an incompatibility between Excel and MATLAB when using Macintosh computers, Apple users will not be able to edit the high score board.

The game screen will appear starting on the main menu page. Read the instructions and then press any key to continue to the game.

To begin the game, wait until the snake starts moving before attempting to navigate. To control the direction of the snake’s motion, use the up, down, left, and right arrows. When each arrow is pressed, the snake will make an abrupt turn in that direction and continue that way until given further commands. The snake must stay within the boundaries of the purple line, or the turn will end.

The goal of the game is to direct the snake to the “egg”, which is represented on screen as a star-shaped marker. When the snake reaches the egg, the snake will eat it, which makes the egg disappear and adds one unit of length to the tail end of the snake. Continue to follow the markers until the snake reaches a length at which it can fill the entire screen.

A scoring system will be used throughout the game. The score is displayed at the bottom middle of the screen and begins at 0 at the start of the game. 10 points are added to the score each time an egg is eaten by the snake.

The game will end in one of the following scenarios:

  1. The player has beaten the game by creating a sufficiently long snake to fill the entire screen, adding a high score to the high score board.
  2. The snake moved outside of the boundaries set by the purple square.
  3. The snake ran into itself.

When the game ends, the screen will display the high score board. If the score for that round is high enough to earn a spot on this screen, the player will be asked to enter a name to attach to their score. The game is now finished, and the player can rerun the program to play again.

After displaying the high score board, a window will appear asking the user to play again or exit. Select an option and continue.

Note: Users on Apple systems will not be able to utilize the high score board function.

To exit the game before the turn is terminated, press the escape key. The score earned at the time of pressing the escape key will be the user’s final score for that round.

 

Welcome to Tron!

This is a two-player game. The objective of this game is to force the other player to run into the boundaries of the game, or to run into the other player, causing them to lose.

To begin, open the MATLAB file containing Tron. When ready to begin the game, go to the editor tab and click the Run button to run the program.

The main screen of the game will appear. Read the instructions and press any key to continue and begin the game.

To start playing, wait until the countdown timer gets to 0 and the graphic begins moving before attempting to navigate. Since this is a multiplayer game, both players will use the same keyboard, with Player One using the w, a, s, and d keys to control the direction in which they are moving. Player Two will use the up, down, left, and right arrows, which correspond to the directions that the w, a, s, and d keys respectively. When a key is pressed, the snake-like graphic will make a sharp turn in that direction and continue until given further instructions.

While the game is running, players will try to force the other player to run into the wall or the other player by boxing them in or creating patterns that make it difficult for the other user to navigate. If the graphic touches the other player or the boundaries of the game, that player will lose that round and the game will restart.

There is a scoring system at the bottom of the screen that counts how many rounds each player has won. In order to win the game, one player must get to three rounds won. In the event that both players run into each other head on, the score will remain the same and the round will be counted as a tie.

Once one player gets to 3 rounds won, the game will close. To replay, click the Run button under the editor tab again, which will restart the game and the score again.