Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 1.93 KB

README.md

File metadata and controls

69 lines (45 loc) · 1.93 KB

flappy-bird-demo

This is the original Flappy Bird Demo updated to use the newer versions of Figwheel and ClojureScript.

screenshot

Read the blog post about this flappy bird demo.

Watch the 6 minute video

Checkout the documentation on figwheel-main to go further!

Usage

Via Leiningen

Make sure you have the latest version of leiningen installed

Clone this repo:

$ git clone https://github.com/bhauman/flappy-bird-demo-new.git

Change into the flappy-bird-demo-new directory and run:

$ lein fig:build

Via Clojure Tools

First we will want to install the clj and clojure command line tools.

Clone this repo:

$ git clone https://github.com/bhauman/flappy-bird-demo-new.git

Change into the flappy-bird-demo-new directory and run:

$ clj -M:build

Edit the code and see real time updates

You can now open the flappy-bird-demo-new/src/flappy_bird_demo/core.cls file in your favorite text editor. If you make a change and save the file you should see the changes in the running flappy bird game immediately.

For example on find the word "START" and change it to "HEY" and watch it change immediately without reloading the program.

License

Copyright © 2022 Bruce Hauman

Distributed under the Eclipse Public License either version 1.0 or any later version.