xr57p-20230819-0950
xr57p (Prototype) » Devlog
Fixed the bug where the game would hang if you flipped a mountain tile late game. (identified by @broquaint). Now you can clear the board! (but i've also realized some min-max strategies that break the little 'balance' there is...
problem:
- if you flipped a mountain late game, it would hang trying to find a path to it.
- problem occured because the choice was allowed since it was not a mountain yet (when hovered it was 'undiscovered' but in range; when initially flipped it was primary to do pathfinding), but then became mountain and so then became inaccessable. pathfinding woudl hang trying to search every possible tile on the grid.
solution:
- probably would like to change the order of flipping and moving so this problem cannot be reached
- for now: added check in beginning of pathfinding function: if target is a mountain, then return false immediately b/c we know no path is possible to an endpoint that is not accessible.
Files
xr57p-20230819-0950-html.zip 805 kB
Aug 19, 2023
xr57p-20230819-0950-win.zip 4 MB
Aug 19, 2023
Get xr57p (Prototype)
xr57p (Prototype)
Turn-based grid-based adventure for the Eggplant podcast game jam
More posts
- 2023 09 15 - fail state and core loop (windows only)Sep 16, 2023
- update 2023-08-24-0828 starting tilesAug 25, 2023
- update 2023-08-23-1042Aug 24, 2023
- update 20230822-0837Aug 23, 2023
- update 20230820-0227Aug 20, 2023
- xr57p-20230817-1134Aug 18, 2023
- version 20230817.0720pmAug 18, 2023
Leave a comment
Log in with itch.io to leave a comment.