markcornwell / spacewar

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

Player 1: WASD Player 2: IJKL #28

Closed markcornwell closed 4 years ago

markcornwell commented 4 years ago

Map the keys to the settings I saw on the original pdp-1 emulations. I don't how standard these are, but it makes sense to stick to alphabetic keys. Also, you just tell the player what 4 keys to use and they soon figure out what key does what by experimentation. This early learning success creates some fun for the player. Important for the players to feel they are mastering the game.

markcornwell commented 4 years ago

Have implemented the key mapping so that player 1 is WASD and player 2 is IJKL. I ignored case so it should work even if you have the caps lock key on. I have a separate issue for giving instructions to player, so will close this issue now and continue my thoughts on issue #26.