Skip to content

Small game to practice Clojure (and some macroeconomics)

Notifications You must be signed in to change notification settings

duzunov/central-banker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Central Banker

Description

This is a small game to practice Clojure. Don’t expect too much out of it. It is inspired by Chair the Fed by the Federal Reserve of San Francisco

Feedback is welcome!

Running the game

Install the clojure tools Run with $ clj -M -m centralbanker.main or $ clj -X:main

Build to a jar with: clj -X:uberjar :aot true :jar centralbanker.jar :main-class centralbanker.main and then run with java -jar centralbanker.jar

You can also use the GraalVM native-image tool: /Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.0.0.2/Contents/Home/bin/native-image –report-unsupported-elements-at-runtime \ –initialize-at-build-time \ –no-server \ -jar centralbanker.jar \ -H:Name=cb

TODOs

fix the economic model

Make a nice web interface with Biff

Use graalvm to make native executables

Store hi-scores in a DB like Crux

About

Small game to practice Clojure (and some macroeconomics)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published