Demonstration of using a 2-dimensional array to represent a grid style game board to create a simple grid runner game! All 'tiles' in the grid are background colored divs. The 'player' is also a background colored div, but at a smaller cell size. Pay attention to how we position the player to keep them centered in each grid cell.
Workspace Directory : 420-gridRunner
Filename : gridRunner.html
Make the following changes to Grid Runner...