I am writing a program to play connect-4. The output to the terminal is shown below, the 0s are color coded on the terminal doesn't seem to be possible on stack exchange. Anyway, what I want to try and do it print a disk instead of a zero, is there anyway way to do this?
| || || || || || || |
| || || || || || || |
| || || || || || || |
| || || || || || || |
| || || ||0|| || || |
| || || ||0|| || || |
0 1 2 3 4 5 6
I forgot to mention the program is running in c++.
Comments
Post a Comment