Use the Arrow Keys to shoot in the directions. Left Key for Left Shot, Right Key for Right Shot, Up Key for Middle Shot.
Problem Set 0 for CS50 by Mateo S.