gamedev
Tried to add random enemy placement to the dungeon, but they all appear in the same room. I realize that the common way to do RNG in C and C++, srand(time(NULL)) uses time (in seconds) as a seed, and since the loop obviously runs multiple times per second, I'm getting the same results.
I think my solution would be to use my own RNG algorithm with a seed that increments every time it is called.
gamedev
Added music and sound effects. Though, music was technically added previously, but I muted the previous recording.
Background music is "Dungeon 05" by Beau Buckley, released under the CC-BY-SA 4.0.
@d7094945513d0072aa9e2d300c65fba336be751ef60eecbbf0d7a4871561d41a I did. Maybe it's not viewable from your Nostr client, or the Nostr-Fedi bridge is being funky.
@d7094945513d0072aa9e2d300c65fba336be751ef60eecbbf0d7a4871561d41a Just view it from the link here: