Show HN: I accidentally crated a infinite level for a wolf 3D clone
victorribeiro.com
victorribeiro.com
My maps for the game are defined as an object with width, height and an array of arrays for the data. When working on a map that was supposed to be 14 in width and 16 in height, I forget to update the values (8 x 8) and end up creating a infinite level.
you can look at the error here: https://victorribeiro.com/raycast2/js/map.js
You need a keyboard to walk around the game. Arrow keys walk around, space bar opens doors.