Hacker News new | ask | show | jobs
by robinsonb5 553 days ago
Yes indeed, if the project were targetting a simpler machine without an operating system and windowing system in the way, then doing the whole thing - graphics presentation and all - in a thousand lines of C would be perfectly feasible

> I'm acutely aware how it's not turtles all the way down (as the logophiles believe)

De Chelonian Mobile

2 comments

It uses a sprite sheet png file. I am curious how you would target a simpler machine without a bunch of code to display those. I am having trouble picturing this.
There's no special reason it has to PNG, though - if you're aiming for minimum line-count without dependencies then just use a raw bitmap.
You can just inline sprites in code too. Even though that would add at least one big line of code :)

This is how I do fonts in one of my projects.

> De Chelonian Mobile

Get out of here with that monotestudonist heresy!