Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ challenge

Name: Anonymous 2012-11-04 14:51

Make/show a simple snake game in plain C!

Name: Anonymous 2012-11-06 14:40

>>53
I meant output buffering.

Curses maintains two screen buffers: One containing the output you're about to show to the user, and one containing the previous output as the user sees it. When you call wrefresh() (or whatever) it calculates the number of cells that actually differ between the two, and only sends instructions to redraw those exact cells. You can force other behavior but this is the default.

Having taken a closer look at termbox I can see it lacks this feature entirely.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List