making the game works on github pages