https://github.com/nathancy/micromouse-simulator
Micromouse simulator with four levels written in C
https://github.com/nathancy/micromouse-simulator
c maze micromouse-simulator mouse simulator
Last synced: 4 months ago
JSON representation
Micromouse simulator with four levels written in C
- Host: GitHub
- URL: https://github.com/nathancy/micromouse-simulator
- Owner: nathancy
- Created: 2017-06-26T03:23:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-30T21:25:23.000Z (over 8 years ago)
- Last Synced: 2025-04-12T08:40:35.706Z (6 months ago)
- Topics: c, maze, micromouse-simulator, mouse, simulator
- Language: C
- Homepage:
- Size: 401 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Micromouse-simulator
Micromouse simulator with four levels.```
Demo video. Watch in 1440 HD!
```[](https://www.youtube.com/watch?v=Nb8YTFCTzjM "Micromouse Simulator - Click to Watch!")
### 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.