Game loop implemnted
Plays until target point is found