markcornwell / spacewar

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

add a way to set parameters: gravity, sun or no sun, ship velocity, missile velocity, burn strenth #7

Open markcornwell opened 4 years ago

markcornwell commented 4 years ago

Gravity should be variable, sun, ship velocity, missile lifetime, etc needs to be configurable.

markcornwell commented 4 years ago

Right now these are configurable in a configuration file, js/parm.js. I tend to fiddle with these values to get the user experience to feel right. The ships should move slowly, as should the missiles to emulate the player experience of the original game. Slow movement puts a premium on planning ahead ahead and thinking.

At issue is how much to expose these controls to the user. I hesitate to give the player full reign for fear they will alter the game drastically away from its intent. For example making the missile run 100x times faster would make them more like laser weapons than projectiles. It would changes the tactics of the game immensely.

Since the parameters mentioned in the name of this issues have been made configurable, I propose we close out this issue and create a new issue around the question of player configurability.