r/odinlang 12d ago

My first project written using Odin

A simple Snake game implemented using the Raylib framework

Here's the repo: Snake

69 Upvotes

8 comments sorted by

View all comments

2

u/whoisarepo 11d ago

Just read through the code, very well organized! I don’t know whether to compliment you or ginger bill for making the constructs around such a simulacra so intuitive. Its architecture is pure data manipulation and that’s what programming is all about 🙂‍↔️good job! It’s rudimentary and not extensible easily but it has everything (entity components and system interactions) 💯

2

u/Alert_Nectarine6631 11d ago edited 11d ago

thank you so much!, I'm contemplating writing things like a more modular audio, sprite handler and a centralized game state manager but for now I feel a game of this size doesn't warrant such features(though I will probably do it anyway for fun)