markcornwell / spacewar

Javascript implementation of 1962 game Spacewar! originally developed for the PDP-1
MIT License
0 stars 0 forks source link

multi needs to clean up controls list after ship is destroyed... #41

Open markcornwell opened 4 years ago

markcornwell commented 4 years ago

When a ship is destoryed, its controls record remains in the controls list so that new ships cannot be created. What should happen is that the control is eliminated and the ship that was destroyed is returned to the free list of ships to be allocated.