js/render.js
// Associate keys with actions triggered by those keys
Associate keys with actions triggered by those keys
Associate keys with actions triggered by those keys
function initKeybindings() {
  for (let action of ACTIONS) {
    for (let key of action.boundKeys) {
      KEY_BINDINGS[key] = action;
    }
  }
}
function initKeybindings ( ) { for ( let action of ACTIONS ) { for ( let key of action . boundKeys ) { KEY_BINDINGS [ key ] = action ; } } }
Associate keys with actions triggered by those keys
Associate keys with actions triggered by those keys