You only need ncurses.h, if you want to compile the original (Linux version), download the SDL version, and it should work (you need the SDL, which you can download for any platform (tutorial 0))
You can find the source code in the description (i've just uploaded it). The original version (so the ncurses version) not works on Windows (but it can be rewritten with dos.h). The graphical version is available as well (so the SDL version, which I wrote in this tutorial), it's cross platform, so you're able to run it on Windows without any modification, but don't forget to put the air.ttf file beside the runnable).
If you have any problem with the compile or run let me know.
I need ncurses.h
theobserver5000 4 months ago
@theobserver5000
You only need ncurses.h, if you want to compile the original (Linux version), download the SDL version, and it should work (you need the SDL, which you can download for any platform (tutorial 0))
thecplusplusguy 4 months ago
Please post the code for Snake, using windows.
Thx.
TheSAguy 7 months ago
@TheSAguy
You can find the source code in the description (i've just uploaded it). The original version (so the ncurses version) not works on Windows (but it can be rewritten with dos.h). The graphical version is available as well (so the SDL version, which I wrote in this tutorial), it's cross platform, so you're able to run it on Windows without any modification, but don't forget to put the air.ttf file beside the runnable).
If you have any problem with the compile or run let me know.
thecplusplusguy 7 months ago