Micromouse simulator with four levels written in C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
.gitignore
README.md
colors.h
display.h
display.o
frills.c
frills.h
functions.c
functions.h
huggers.c
huggers.h
level0.c
level1.c
level2.c
level3.c
makefile
maze.dat
maze.template
menu.c
mousecam.c
mousecam.h
newmaze.dat

README.md

Micromouse-simulator

Micromouse simulator with four levels.

Demo video. Watch in 1440 HD!

Micromouse Simulator Video

Level 0: Drive the Mouse

You may use w,s,a,d commands in the predefined visible maze to control the mouse. Features:

  • w - up
  • s - down
  • a - left
  • d - right
  • Entire maze is visible

Level 1: Mouse Discovers

You may use Level 0 commands, r, l, and m, commands in the predefined hidden maze. Features:

  • r - right wall hugger
  • l - left wall hugger
  • m - show maze
  • Mousecam
  • Cell counter

Level 2: Mouse Explores

You may use Level 1 commands and the n command.

  • n - hide maze
  • Unique cell count

Level 3: Da Frills

You may use all above commands and the space command.

  • Space - random movement (drunken mouse)

Additional Frills:

  • Default level is 0
  • In level 2 and above, a new maze map is available
  • Hidden easter eggs

Developers Guide

Clone the repository with:

git clone https://github.com/nathancy/Micromouse-simulator.git
cd Micromouse-simulator

Build the simulator with:

make mazerunner

Run the simulator with:

mazerunner

Note: The simulator runs best in an 80 col x 48 line window. If your screen is too small, the maze may not appear correctly. Note "display.o" is purposely in the repository as the original source file was lost.