ScratchData LogoScratchData
Back to thejuki's profile

Mouse Maze

THthejuki•Created December 13, 2015
Mouse Maze
13
11
373 views
View on Scratch

Instructions

*Use Turbo Mode - Shift Click Green Flag* Let the mouse solve the maze (Get cheese) Or -Hit space to assume control of the mouse- Left Arrow - Left Step Right Arrow - Right Step Up Arrow - Up Step Down Arrow - Down Step

Description

Thanks to @deck26 for the grid system Thanks to Data Structures... Vector Cheese Collection: http://www.creattor.com/vectors/vector-cheese-collection-3886 I originally created this in C++ using a two-dimensional char array (List of X's and Y's pointing to wall locations, the mouse location, and cheese locations) and a stack (List of steps for backtracking). This is Mouse Maze! If you don't hit space, the mouse will keep trying to get the cheese in the maze. My C++ Mouse Maze on GitHub --------------------------------------------------------- https://github.com/TheJuki/CSC-230-Projects/blob/master/Labs/Lab%205%20-%20Mouse%20Maze/main.cpp The mouse is not very smart. -The mouse can detects walls -The mouse can eat cheese -The mouse can backtrack -The mouse can't smell cheese or detect danger (Possible cat?) Therefore, the mouse will use the same technique to traverse the maze every-time. I might add the feature to edit the maze. (Since the data that creates the maze is made up of 0's and 1's)

Project Details

Project ID91404752
CreatedDecember 13, 2015
Last ModifiedNovember 15, 2021
SharedDecember 13, 2015
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root