Back Stephen Dodd Tech Game Development Blog Code

Command pattern standard input

An example that implements the command pattern for standard keyboard input in a HTML5 Javascript Typescript game.

© Stephen Dodd 2022