a simple typing game using the canvas element and javascript