3 ms·
Core code is here: https://github.com/ertugrulcetin/racing-game-cljs/blob/master/src/racing_game_cljs/views.cljs https://github.com/ertugrulcetin/racing-game-cl
by coltnz 5y ago
Core code is here: https://github.com/ertugrulcetin/racing-game-cljs/blob/master/src/racing_game_cljs/views.cljs 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.
- lrenn 5y ago323 lines.
- hatch_q 5y agoI wonder how maintainable this is even for clojure experts? Simple feature - add 'jump' control. How long would it take you?
- dgb23 5y agoIt 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 https://github.com/pmndrs/react-three-fiber
- pantulis 5y agoSame here, it's very concise, love it.