add WASD controls (closes #10)
add WASD controls (closes #10)

--- a/js/keyboard_input_manager.js
+++ b/js/keyboard_input_manager.js
@@ -31,7 +31,11 @@
     75: 0, // vim keybindings
     76: 1,
     74: 2,
-    72: 3
+    72: 3,
+    87: 0, // W
+    68: 1, // D
+    83: 2, // S
+    65: 3  // A
   };
 
   document.addEventListener("keydown", function (event) {

comments