Completed .js file

Created a:
- game menu function
- player select function
- main game function