How the GUI is arranged in portrait mode.
I’ve written an article about how I made the HTML5 maze and what I learned while making it.
Check it out:
I have written a maze game using HTML5. It should be compatible with any recent browser including mobile browsers!
Move using the arrow keys, WASD or by pressing the buttons on screen.
The interface will react if the browser window’s dimensions change (e.g. if you rotate your phone from portrait to landscape). The interface will try and draw the maze as large as possible while ensuring that it remains a square and there is some space on screen for the interface.
Check the game out here: https://www.goshdarngames.com/html5-maze/
The source code for the game can be found here: https://github.com/goshdarngames/HTML5-Maze