Writing Games with Clojure

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

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).

results matching ""

    No results matching ""