wattahay / cli-game-scripts

Minimal Python game script. Works foremost in xfce4-terminal and Gnome terminal
2 stars 0 forks source link

board flickers beyond midsize boards #9

Closed wattahay closed 8 years ago

wattahay commented 8 years ago

board is not 1080p or 4k compatible

experiment with ansi hacks as alternative to printing the entire board every single frame.

wattahay commented 8 years ago

Flickering is fixed in terminal and console.

board is printed with ANSI codes instead of clearing and printing again.

This means that every board is actually printed 'on top' of the last one instead of moving all others 'up' to print a new one.