added goals to player and crossing walls