Simple press buttons as fast as you can type game

Hi there -

I want to make a simple game where you race against the computer and make your character run as fast as possible by pressing two buttons really fast… I have in mind the sort of thing I remember playing years ago so hopefully people know what I’m talking about…

If anyone could give me some pointers on where to get started with the code -it would be greatly appreciated !

thanks!

Sam.