Thanks. I noticed that when the window is reduced it takes less RAM and does a lot less paging. (Not sure if I've phrased that right)
I've been trying to think of an algorithm to reduce the amount of walls and only show part of the maze. I've been thinking of either having a set radius of walls or trying to work out which walls were visible from the current position. The 'within radius' one seems to be simpler but I think I would be more restricted. It would also allow faster turning I think.
If I were to go with the 'within radius' I would have two options. (that I can think of). Have the elements of possible walls showing, and changing the outer circumference walls visibilty/innerHTML or building and removing the elements. Any tips?
What I'd like is only one large maze that users help build. The movement is controlled by the server so it's a bit harder to cheat and I can have multiple users showing in the maze.
Any suggestions on concerving RAM?