I'm trying to make a simple GUI that will enlarge a character('+' specifically), when you press W and get smaller when you press S. I got it to enlarge all the way but when I make it smaller it doesn't go to the smallest. Heres my code.
Sorry, I'm in a bad habit of not running things through my compiler before posting.
Your problem is that you are overwriting screen on each output, which means the information that you originally saved to it is lost. Here's a rewrite with an 8th screen that can be rewritten over and over without loss of your original data.
This is a good start to a snake program, I haven't made one myself, but I'm pretty sure the next step is multidimensional arrays and a bit of math to figure out proper line spacing.