Spacewar
developed in 1962:

implementation
1. create spaceship and lazer sprites:

2. code spaceship:

2. code lazer:

questions
try keyboard keys instead of mouse control on spaceship, remember to change trigger event in lazer from mouse down? to key space pressed (not pictured here) :
QoL: LIMIT THRUSTERS TO PREVENT WARP SPEED
