Refresh the game page to restart the game.
WASD or Arrow keys for movement.
Press Space to attack (2 second cooldown)
Hold Space next to blue/orange/purple blocks until the bar is green to hack - then button mash the keyboard until the word is complete to successfully complete hack.
View in game help for controls for further info. Video play-through here