Difference between revisions of "Maze Craze"

From ESE205 Wiki
Jump to navigation Jump to search
(No difference)

Revision as of 02:03, 17 February 2017


Overview

Maze Craze is a challenging maze game where the player must navigate ever changing walls to reach the end. The maze is a 5 x 5 grid of spaces where the user can place their game piece. The player can only move their piece one space in any cardinal direction as long as that direction is not obstructed by a wall. The first time the player moves a space, the entire maze will change to form a new maze. The next time, the maze will revert back to its original form. Each move the game board will cycle between two maze layouts creating an elaborate mental challenge for the player. The two mazes will be randomized at the start of every new game in order to create new and exciting challenges for the user. Every maze combination created will have a possible solution to ensure that the user can potentially conquer the maze. The game will keep track of how many spaces the user moves on his or her journey as well as provide a goal number of moves. Maze Craze is fun for the whole family! See who can solve the maze in the fewest moves and try to beat the high score!


The game board will be a 12in x 12in x 5in wooden box with the top side being the game board that the user interacts with. The maze game itself will be created using on an arduino that will be stored inside the box. One side of the box will also have a number counter created using LED lights that will display the user's current number of moves. This side will also have another number display to display the target number of moves for the player to complete the maze in. The walls of the maze will be comprised of LED RGB strips which will display green when the player is permitted there is no wall and red when a wall is present. Since the board is a 5 x 5 grid, the outside border of the maze will all be walls that never change color. Each space where the user can place their game piece will have a hall effect sensor underneath it to track if the user's piece is on that space. This data will then be used to track the user's number of moves as well as determine when to change the maze. There will also be an on and off switch that will also act as a reset for the game. The player will simply need to turn the game off and back on again to reset the board. The game piece will be a 3-D printed object with a magnet at it's base which will set of the hall effect sensors when on a space. All of the wiring will be enclosed the in box in order to make the game readily portable.

Contributors

Created by Jason Christal and Liz Halter.

TA: Natalie Ng

Objectives:

1. Construct a functioning game board with all wiring enclosed in a box.

2. Make the board aesthetically pleasing. This includes painting and decorating.

3. Make a random maze generator that ensures mazes are solvable.

4. Add user selection of game difficulty (through incorporating a switch) if time allows.

Challenges

1. Learn arduino.

2. Constructing a box that contains the game board on the lid/top surface and the Arduino and wiring inside.

3. Wiring the game board.

4. Optimizing magnetic sensor readings by removing noise.

5. Creating a program that solves the mazes in the shortest number of moves possible

6. Creating a program that can make mazes of varying difficulty.

Budget

Green LED lights, 5mm (pack of 50 @ $5.55 here)

LED RGB Strips, 1m (3x @ $59.85 here)

Pack of 400 pt and 830 pt Breadboards (@ $7.99 here)

Hall Effect sensors (x30 @ $27.00 here)

Pivoting on/off switch (pack of 5 @ $6.99 here)

Arduino (Provided)

Spray Paint (@ $3.00 here)

Plywood 2ft by 4ft (@ $7.92 here)

Screws (@ $8.47 here)

4 Double A Battery Pack (2x @ $2.28 here)

Double A Batteries (2x 4 pack @ $7.56 here)

Circular Magnets 1/2 in. dia (10 pack @$1.98 here)

Wiring (provided)

Total

Total: $138.59

Gantt Chart

Gantt Chart

<gallery>