Added collision detection, hits count and isAlive boolean in the player object