Levels are now expanded out as you travel down and the stairs are only placed at the end of the level instead of randomly.

This commit is contained in:
Zed A. Shaw 2025-01-28 13:36:50 -05:00
parent 82216b8307
commit 59a6882b70
11 changed files with 57 additions and 10 deletions

View file

@ -15,7 +15,7 @@ struct Point {
typedef std::vector<Point> PointList;
struct PointHash {
template<> struct std::hash<Point> {
size_t operator()(const Point& p) const {
return std::hash<int>()(p.x) ^ std::hash<int>()(p.y);
}