An open API service indexing awesome lists of open source software.

https://github.com/errec/mazecoingame

C++ maze solver
https://github.com/errec/mazecoingame

Last synced: 11 months ago
JSON representation

C++ maze solver

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
```