bhauman / flappy-bird-demo-new

This is the original Flappy Bird Demo updated to use the latest incarnation of Figwheel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

This is the original Flappy Bird Demo updated to use the latest incarnation of Figwheel.

License:Eclipse Public License 1.0


Languages

Language:Clojure 71.8%Language:CSS 19.5%Language:HTML 8.7%