hotcrystal0 wrote: April 15th, 2026, 5:38 pm
aivo wrote: April 15th, 2026, 3:23 pm
The game got hacked and I don't really have the time right now so I've pulled it down, if anyone wants the files let me know then you can host it and put it on github and work on it as a community or something?
Are you still going to work on it though? Also, how did it get hacked?
Edit: I have uploaded the files to GitHub
here.
Replacing line 100 of index.html with this:
Code: Select all
const BUILTIN={Glider:[[0,0],[1,0],[2,0],[2,-1],[1,-2]],Block:[[0,0],[1,0],[0,1],[1,1]],Blinker:[[0,0],[1,0],[2,0]],LWSS:[[0,0],[1,0],[2,0],[3,0],[4,1],[4,3],[0,1],[0,2],[1,3]],RPentomino:[[1,0],[2,0],[0,1],[1,1],[1,2]]};
Should fix the corrupt built-in LWSS pattern.
Also, has anyone tried to optimize the rendering engine yet? (Currently it renders a circle of 'fog' for every single live cell, which is very inefficient when living cells are usually clustered together). Using an algorithm that parses every 'cluster' of live cells instead of going through every live cell might be more efficient.
Currently writing a utility in Lua that may be helpful for faster manual pattern manipulation.