Home 15: Exercise - Remember the last 5 keys
Content
Cancel

15: Exercise - Remember the last 5 keys

Remember the last 5 keys that have been pressed on your keyboard. Not more! If you press the 6th key, the oldest one should be removed. Use an array for that and think about a way how to visualize this keys on the canvas.

This post is licensed under CC BY 4.0 by the author.