Input Detection - How To Code Games In BBC BASIC (17)

By Colin Hoad | Apr 22, 2022
RSS
In this episode, I look at the incredibly useful INKEY function that can be used to detect user input and thus allow a user to control the game. I'll also explore the concept of the keyboard buffer, what it's for and why it sometimes needs to be flushed.

RESOURCES:
http://www.colinhoad.com/bbcmicro/cosmicinvaders/
https://www.bbcbasic.co.uk/bbcwin/tutorial/chapter13.html