Simple implementation of the Dungeon Game in GO.
Contains 2 strategies: Recursive and Dijkstra. Dijkstra is hard coded in main.go at the moment.
It takes a dungeon map YAML as parameter:
# Example dungeon map:
---
rooms:
- [1, 2, -5, -4]
- [-5, -6, -7, 9]
- [9, 10, 11, 12]
To run:
./dungeongame -dungeon ./dungeonmap.yml
# => MIN HP: 4
# => BEST ROUTE: RIGHT -> DOWN -> DOWN -> RIGHT -> RIGHT
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
make test