Page 1 of 1

Console Snake game

Posted: May 24th, 2021, 7:36 pm
by Ilias
Hello fellow Chiliheads!

I've been watching Chili's C++ and DirectX series (I'm currently at hardware 3D and it's magic basically) and decided to make something myself for a change, a small, simple, but complete game. So I've made a Snake game from scratch. It's console-based, and I used PDCurses instead of native Windows console functionality, because I've tried it out and it looked better to me in terms of flickering (but it still flickers a bit though :( ).

It should run on any Win10 64-bit machine, but it probably will not run on lower versions, because I've defined some bs in the IliasWin.h that targets the project to Win10. I stole that header from Chili mostly, by the way xD

You can download the .exe from my github and try it for yourself! All the source code is there too of course.

If you're curious, you can build it yourself, but you'll need the PDCurses library and that was a bit of a buttpain for me to build :D

Let me know what you think if you've tried the game!