implementing application logic for player.
implementing application logic for the AI. changed the dimensions of the canvas and add the ai and player dependencies to game.js