Skip to content
Robert Lin edited this page Jun 26, 2020 · 2 revisions

Friday - June 26, 2020 | "Windows Terminal!"

Committed small changes to fix the "Screen flashing" problem. Instead of cls, use:
sys.stdout.write('\x1b[1A'*21) # Move cursor back up 21 lines


Thursday - June 25, 2020 | "So little time; so much to code!"

Made good progress today. Have successfully converted the CTWC video board state (Jeff's) into numpy matrix. Note you need to get Windows Terminal to properly run the code currently. Windows Terminal supports ANSI escape chars (eg. '\x1b[1A'); PowerShell doesn't natively.

Progress so far: