added new files to game directory with basic JS functions
Implemented most of the game functions but doesn't work at the moment