Game plan for me (this is so i can gather my thoughts): Create back wall Create randomized side walls and record line angles Get sprite Main loop Get sprite position Controls, change variables to not truely move sprite Find line intersections with new positions If hitting, don't move sprite, else move sprite repeat