Dipping My Toes Into Roguelike Dev: Drunk Walk Cave Gen
For my first roguelike project I'm working on proc-gen. As a data scientist, random walks are attractive to me. In time series analysis we use random walks with drift to characterize some phenomena like stock market fluctuations. I added "momentum" as a parameter to help give the walker drift, which creates corridors.
I'm using Golang because...
- I've written Python for money for like 8 years now and it's boring me
- Golang ships a binary so in theory my outputs can run anywhere.
- It's pretty dang quick while still handling garbage collection for you.
- For terminal based tools the ecosystem is incredibly mature. Many of the best modern terminal tools are written in go.
I put the code in GitHub if you would like to play with it yourself!
Might do a YouTube walk through if anyone is interested. Let me know.
u/ADatabaseSpiritual — 10 days ago