Have a working games now!

Added collision detection for a functional game.