Live data from Hacker News

Xs of Y – roguelike that names itself every run. Written in 4kLoC

github.com

61–70 of 99 posts

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#61
post #2

No credit for the art direction and inspiration? Brogue? Or did I miss the attribution? * Edit: I’m not looking for the downvotes or to stir things up. I’m simply calling out that this is a small niche community we notice these things, we’re very free with our code, and copy is a compliment, but so is attribution. The author wasn’t so much inspired the by Brogue style, but copied it directly down to the animations an…

[deleted]

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#63

Author here! Thanks for posting! This game is written in a Clojure-like programming language I've made. So this is a (B)rogue-like in a Clojure-like :) What I think is interesting is that this game computes the entire world state each tick and does so efficiently thanks to persistent data structures. To anyone who dared to fire it up: thank you for playing, I'm curious what you think!

This is awesome! I'm interested in building something similar, any tips besides looking at what you've done and Brogue?

I'd say don't immediately go into making an ECS and don't sweat about perf too much. You can totally do this in any programming language. This is a good talk about roguelike software design in general: https://www.youtube.com/watch?v=JxI3Eu5DPwE

Tbh the whole channel is a gold mine of inspiration. Also check: https://discord.gg/bgd2GrhR

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#64

Author here! Thanks for posting! This game is written in a Clojure-like programming language I've made. So this is a (B)rogue-like in a Clojure-like :) What I think is interesting is that this game computes the entire world state each tick and does so efficiently thanks to persistent data structures. To anyone who dared to fire it up: thank you for playing, I'm curious what you think!

I did a quick run on the web version. I was able to sneak attack everything on the first two levels, which felt like a bug, but I'm honestly not sure.

When I found a spear, I kind of expected to be able to throw it, but I didn't find a throw option anywhere. I think that makes the short sword better in every case, but maybe I missed something.

Overall, I love the execution. Quality retro fun with a really nice interface.

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#65

Author here! Thanks for posting! This game is written in a Clojure-like programming language I've made. So this is a (B)rogue-like in a Clojure-like :) What I think is interesting is that this game computes the entire world state each tick and does so efficiently thanks to persistent data structures. To anyone who dared to fire it up: thank you for playing, I'm curious what you think!

I did a quick run on the web version. I was able to sneak attack everything on the first two levels, which felt like a bug, but I'm honestly not sure. When I found a spear, I kind of expected to be able to throw it, but I didn't find a throw option anywhere. I think that makes the short sword better in every case, but maybe I missed something. Overall, I love the execution. Quality retro fun with a really nice interf…

This totally is a bug. Was this recently? I thought I fixed this in WASM version.

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#66

I killed myself with a flaming spear and the game said this: > FATAL ERROR: [program exited] "cannot subtract nil and let-go.lang.Int", :data {:trace ("game-loop ( )" "game-loop ( )" "update-world ( )" "run-until-player-turn ( )" "creature-turn ( )" "update-ai-state ( )" "distance ( )")}} A fatal error indeed!

I got killed by a fire imp and crashed the same way.

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#67

Author here! Thanks for posting! This game is written in a Clojure-like programming language I've made. So this is a (B)rogue-like in a Clojure-like :) What I think is interesting is that this game computes the entire world state each tick and does so efficiently thanks to persistent data structures. To anyone who dared to fire it up: thank you for playing, I'm curious what you think!

My 15 year old's (who is a roguelike fanatic) first comment was: there's no diagonal movement?

"The visuals are interesting.... oh I died."

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#68
post #2

No credit for the art direction and inspiration? Brogue? Or did I miss the attribution? * Edit: I’m not looking for the downvotes or to stir things up. I’m simply calling out that this is a small niche community we notice these things, we’re very free with our code, and copy is a compliment, but so is attribution. The author wasn’t so much inspired the by Brogue style, but copied it directly down to the animations an…

I'm a little confused. There were some differences, but this stuff is straight out angband/moria lineage stuff. https://angband.readthedocs.io/en/latest/version.html#previo...

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#69

Author here! Thanks for posting! This game is written in a Clojure-like programming language I've made. So this is a (B)rogue-like in a Clojure-like :) What I think is interesting is that this game computes the entire world state each tick and does so efficiently thanks to persistent data structures. To anyone who dared to fire it up: thank you for playing, I'm curious what you think!

My 15 year old's (who is a roguelike fanatic) first comment was: there's no diagonal movement? "The visuals are interesting.... oh I died."

I don't have a numpad so it did not occur to me to add diagonals :D

Good feedback though, I'll add it. Thanks to your 15 year old!

Re: Xs of Y – roguelike that names itself every run. Written in 4kLoC

#70

Earlier quoted context omitted.

My 15 year old's (who is a roguelike fanatic) first comment was: there's no diagonal movement? "The visuals are interesting.... oh I died."

I don't have a numpad so it did not occur to me to add diagonals :D Good feedback though, I'll add it. Thanks to your 15 year old!

most roguelikes also add (IIRC looking at my phone keyboard and reverse engineering muscle memory) yubn for diagonals.
Post reply on HN