Hacker News new | ask | show | jobs
by coltnz 1829 days ago
Core code is here: https://github.com/ertugrulcetin/racing-game-cljs/blob/maste...

Looks pretty amenable to hacking with the boy.

I know we're using an engine, but still shocking how little code it is.

3 comments

I wonder how maintainable this is even for clojure experts? Simple feature - add 'jump' control. How long would it take you?
It looks quite familiar, it generates a plain data structure and reacts on a set of user inputs. I‘d have to look up how this communicates with threejs (which is done via a wrapper library) and what the semantics of that is, but otherwise the code looks clean and simple to me.

Edit: here https://github.com/pmndrs/react-three-fiber

Same here, it's very concise, love it.
323 lines.