sente
play-cljc
sente | play-cljc | |
---|---|---|
4 | 4 | |
1,725 | 519 | |
0.3% | - | |
6.5 | 3.5 | |
21 days ago | 7 months ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sente
-
Libraries that join front and back end?
https://github.com/ptaoussanis/sente doesn’t abstract it away completely, but very convenient
-
Any recommendations for a websoket library?
https://github.com/ptaoussanis/sente have I user with http-kit, works great
-
Reflecting on 18 months of Clojure - Building a SaaS business with Clojure
sente
-
ClojureScript Browser Multiplayer Engine
I think the easiest way to do frontend games is with websockets. It's annoying to have to poll and makes a lot more sense for the backend to push data to the frontend. Sente https://github.com/ptaoussanis/sente is like socket.io in that it provides a nice wrapper for an event-driven architecture on top of websockets that is really well suited for games. It's what I used in coding up a multiplayer Go game.
play-cljc
-
Clojure/Java Matrix Library Performance Comparison (core.matrix vs EJML vs vectorz-clj)
You could also compare it to the matrix functions in play-cljc (see also the API docs). It doesn't implement everything in your list though. I was originally using core.matrix but writing them from scratch made a big perf difference in my testing.
-
Graphics libraries in lisp for game development
https://github.com/oakes/play-cljc i was wrong lol
-
Anybody working on games here?
https://github.com/oakes/play-cljc or https://github.com/oakes/play-clj - first is native or web and uses OpenGL, but is rather basic (but you'll have more control) - second wraps lwjgl, which in turn wraps OpenGL, but is a more mature framework giving you more support
-
ClojureScript Browser Multiplayer Engine
I tried phaser recently. It is quite complete framework, so there is no need to reach for some specific purpose libraries. I went through https://phaser.io/tutorials/making-your-first-phaser-3-game but with shadow-cljs and it worked. The framework handles well low level stuff so the final source code is small. I have expanded the game from tutorial with sounds, custom graphics and it reached something like 150 lines of clojurescript code. However I wouldn't recommend it to someone who is just learning clojure. https://github.com/oakes/play-clj was really nice (and it was simple to build android app from it) but it's no longer maintained and I never used it's successor (https://github.com/oakes/play-cljc) which might be better option today.
What are some alternatives?
aleph - Asynchronous streaming communication for Clojure - web server, web client, and raw TCP/UDP
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]
nippy - The fastest serialization library for Clojure
play-clj - A Clojure game library
overarch - Overarch provides a data model for the holistic description of a software system, opening multiple use cases on the model data. Supports C4 and UML diagram generation with PlantUML.
euclidean - Fast, immutable math for 3D geometries in Clojure
ring-jetty9-adapter - An enhanced version of jetty adapter for ring, with additional features like websockets, http/2 and http/3
lispgames
Socket.io - Realtime application framework (Node.JS server)
calm - Calm down and draw something, in Lisp.
edamame - Configurable EDN/Clojure parser with location metadata
cljs-brawl - Mass Brawl Simulator for ClojureScript