Skip to content

lambdaisland/breakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

breakout

A level editor for the retro game "Breakout", built with re-frame , as seen on Lambda Island episode 19.

You can try it out on-line.

If you want to follow along, then check out the re-frame-start branch, and start from there. The final result is in the re-frame-episode-1 branch.

git clone https://github.com/lambdaisland/breakout.git
cd breakout
git checkout re-frame-start

Development Mode

Start Cider from Emacs:

Put this in your Emacs config file:

(setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")

Navigate to a clojurescript file and start a figwheel REPL with cider-jack-in-clojurescript or (C-c M-J)

Compile css:

Compile css file once.

lein garden once

Automatically recompile css file on change.

lein garden auto

Run application:

lein clean
lein figwheel dev

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449.

Production Build

To compile clojurescript to javascript:

lein clean
lein cljsbuild once min

About

The retro game "Breakout". re-frame/Reagent/React/SVG.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published