Live data from Hacker News

24a2: An ultra-minimalist game engine

github.com

11–20 of 42 posts

Re: 24a2: An ultra-minimalist game engine

#11
post #5

Nice! I think you could do a port of the classic Milton Bradley board game "You sunk my Battleship!" with this ;) https://en.wikipedia.org/wiki/Battleship_(game)

This framework is based on a game loop that runs an update on each frame which is more intended for real-time controls. I think a turn-based game like battleship is a different paradigm.

Re: 24a2: An ultra-minimalist game engine

#15
post #11
post #5

Nice! I think you could do a port of the classic Milton Bradley board game "You sunk my Battleship!" with this ;) https://en.wikipedia.org/wiki/Battleship_(game)

This framework is based on a game loop that runs an update on each frame which is more intended for real-time controls. I think a turn-based game like battleship is a different paradigm.

afaik pretty much all games work like that on a deep level? And it's an industry standard for game engines to expose their interface in that way.

Anyway, it's in the README:

""24a2 can also run a function [...] when a dot is clicked on.""

So it would be pretty easy to make that.

Re: 24a2: An ultra-minimalist game engine

#17
I love the minimal API, but this would really be awesome if it was a hosted fantasy console style environment with zero boiler plate and shareable links. I know that sounds like a minor difference, but having to write even a little bit of boilerplate in a minimalist environment is a source of friction. Also, as said by many people in this thread, a simple sound API (PC speaker style sounds, sfxr, 10 hard-coded effects, etc) should be added.
Post reply on HN