A playable HTML game needs to be uploaded as a single ZIP archive with all the files in it, including index.html. If you just upload each file one by one, it won't work.