https://github.com/errec/mazecoingame
C++ maze solver
https://github.com/errec/mazecoingame
Last synced: 11 months ago
JSON representation
C++ maze solver
- Host: GitHub
- URL: https://github.com/errec/mazecoingame
- Owner: Errec
- Created: 2016-09-20T02:38:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T12:36:36.000Z (almost 9 years ago)
- Last Synced: 2025-05-14T22:41:53.485Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 456 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MazeCoinGame
C++ software to solve simple maze puzzle
## Input
```text
13 40
########################################
#i..............m.........#.#...#......#
#.#.#.#.#.##.#.#.######.#.#...#.#.####.#
#.#.#####.##.#.#.....######.##.#..#....s
#.#...#.#.####.#.####........#.#.#.#####
#.######.....##.#......####.##.#.#...#.#
#.############.#.##.#######.##.#.###.#.#
#.#............m..........#.#...m......#
#.##.####.#########.#.#.#.#.###.#.#.##.#
#.#...#...#....#....#.....#.#.#.m.#.##.#
#.#.#######################.#.########.#
#.............#m.......................#
########################################
```
i: entrance
s: exit
m: coin
#: walls
## Output
```text
p1 total steps
p2 steps to the exit
m1 total collected coins
m2 coins in the exit path
x1 y1
x2 y2
...
xn yn
```