simple collision detection added, speed of game time dependaet and not thread speed dependent