Console program - Animated attempt at Sample NEA Task 3 Board-Game in colour for the Raspberry Pi
Created by Phil Gardner
last edited Mar 23 2017 by Phil Gardner
Compile from command-line:
(This produces an executable called “a.out” by default.)
Possibly useful as a demonstration, even if you plan to use some other language to do it.
I did it for a laugh to try out an idea posted by Paul Powell (so blame him :-) )
Bit technical on the cursor-positioning, but the board and counter display can be done instead by a rolling, scrolling redisplay of the whole thing, rather than refreshing parts of the console window using coordinates. I wanted to see if it would work in the Pi… it did!