add break by solid line
moved ball splitting into own function
removed unused count var
added initial ball direction
do not split after a certain point
set line life time as attribute of spear
base movement on frames rather than key presses for smooth animation
prevent person from moving outside wall boundaries