Live data from Hacker News

I made a multiplayer shooter game in Lisp, here is my journey

ertu.dev

31–40 of 57 posts

Re: I made a multiplayer shooter game in Lisp, here is my journey

#33

hmmm seems buggy, player is aiming at the sky continuously and I can't get it to make it aim at a normal level more than a microseconds with the mouse.

> player is aiming at the sky continuously

Same here :(

I'm guessing this wasn't tested (at all?) in Firefox? That's unfortunate.

Re: I made a multiplayer shooter game in Lisp, here is my journey

#35

Cool! Even though my computer is seemingly too underpowered to play it. Anyway, do you plan to make it a big game?

I guess no, if it performs really well I might consider it.

I really hope that you will succeed! Maybe you'll want to find a way to earn money with it though

Re: I made a multiplayer shooter game in Lisp, here is my journey

#36
post #8

How many closing parenthesis do you have on a last line?

I earn my paycheck in Clojure and have for about 10 years. In my experience if your code ends with ))))))))))) you're doing it wrong. This is a code smell for me.

Instead of (qux (baz (bar (foo x)))) use other tools:

- Big picture: is this code overly procedural? If so, is it possible to make it declarative and functional?

- Line-level picture: one of the thread macros, functional composition, etc. will make this more readable. For example: (-> x foo bar baz qux).

Re: I made a multiplayer shooter game in Lisp, here is my journey

#39
post #33

hmmm seems buggy, player is aiming at the sky continuously and I can't get it to make it aim at a normal level more than a microseconds with the mouse.

> player is aiming at the sky continuously Same here :( I'm guessing this wasn't tested (at all?) in Firefox? That's unfortunate.

Works fine for me on Firefox (Windows).

Re: I made a multiplayer shooter game in Lisp, here is my journey

#40
post #8

How many closing parenthesis do you have on a last line?

Things that terrify ICE car drivers about electric vehicles: Range. Things actual EV drivers rarely worry about: Range. Things that terrify non-Lisp programmers about Lisp: Parentheses. Things actual Lisp programmers rarely worry about: Parentheses.

I don't think that's a great example, as I never heard of "range anxiety" until EVs started to become popular, and it was applied to and admitted by exclusively owners of EVs and also E-bikes.

But it's 2025, it was enough to downvote and ignore the GP comment... Even responding with a dismissive https://www.thejach.com/imgs/lisp_parens.png is too much in current year. Another comment mentions paredit/parinfer, I'm not exactly masochistic but I hate tools that automatically type more than indentation for me so I don't use them, but I also basically never think about counting parens.

Post reply on HN