Writing Games with Clojure
TODO::work in progress, sorry
Pull requests are welcome
Games are driven by events and require state to be managed.
For games in Clojure the events are simply function calls and we prefer to pass the state around rather than have a central mutable container for our state.
This section will contain several games that have been built using a functional approach with immutable data structures.
- TicTacToe on the command line
Hint::Games in ClojureScript
There is a section on games in the Practicalli ClojureScript book, including a TicTacToe game using Reagent (react.js style library) and Scalable Vector Graphics (SVG).
当前内容版权归 practicalli 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 practicalli .