Conversation

Can anyone recommend a game framework or engine, for any language, that you’ve found leads to particularly nice code? I’m writing a tool whose main purpose is prototyping games & interactive media, and I’m interested in studying APIs that game devs find particularly usable.
2
1
The tool in question is an event-oriented imperative programming language which has built-in graphics, input, audio, &c. via SDL2. I intend to put game framework–like functionality in the standard library.
1
By “event-oriented” I mean that everything is reactive & concurrent. Some example code: for all b in (bullets) { whenever (colliding (b, player)) { player.​health <- player.​health - b.​power; destroy (b); } } when (player.​health <= 0) { game_over (); }
2