Added a check for collision with obstacles

Improved the visibility of gameObjects in the Game model