Hacker News new | past | comments | ask | show | jobs | submit login

You might also take a look at this Minecraft clone in C[1]. Uses sqlite to persist state so you can see how you might interact with a database as well. Quite modern and readable in that most functions outside main.c are <20 lines long. It's also cross platform and should work on Windows, Mac and Linux.

[1]: https://github.com/fogleman/Craft

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact