Programming in BASIC on the Color Computer chapter 12 "A Pop Quiz"
ogStevieStrow
As we continue on our journey of learning Color BASIC for the Radio Shack Color Computer, we are now on chapter 12, and we have created a cute little game that allows us to answer a math question before we run out of time.
This introduces us to a new command called INKEY$ which scans the keyboard for a key to be pressed IN, and then it assigns that key to a String variable.
You can use the string variable in a number of ways, either by compounding the keys input into a new string, or by using another new command, VAL() which converts a string variable into a numeric one by picking the VALue of what character was pressed. This really only works with the keyboard characters 0 through 9, if you press any other key, the VALue will always return zero.
It's a cute fun game of "Math beat the clock" and help illustrate some new concepts in a fun way.
Thanks for watching, don't forget to like, comment, and subscribe!
Merchandise: http://8bit256.com Facebook: https://www.facebook.com/ogsteviestrow/ Twitter: https://twitter.com/ogsteviestrow Instagram: https://www.instagram.com/ogsteviestrow/ Website: http://ogsteviestrow.com
Pixel art and logos created by Joel M. Adams: https://www.instagram.com/artistjoelmadams/
OG Theme Song by the Gimp of Hallowed Ground Records: https://www.reverbnation.com/gordy669 ... https://www.youtube.com/watch?v=ygGs4etJphU
88523904 Bytes