I'm looking for a library that can be used to make an ASCII graphics game/AI.
Printable View
I'm looking for a library that can be used to make an ASCII graphics game/AI.
printf() and gotoxy() will do the ASCII graphics for you. If you need more complex keyboard input routine than getch() or you need to use mouse look for gamedev.net for libraries.
I need things like walls and junk.
This prints you all the ASCII characters and the numbers representing them. So printing an ASCII character really goesCode:for(char i=0; i<255; ++i) printf("%d: %c ", i, i);
printf("%c", 64); // this prints 'A'
Wrong! printf("%c", 65); prints 'A'.