The main html file has to be named index.html. You put all the files needed in a zip file (like game.zip) and you upload the zip file.