Making a game in html 5 for school