Skip to content

A game written in Clojurescript to help me learn to do web dev stuff.

License

Notifications You must be signed in to change notification settings

Alexandra-Vogt/cubes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cubes

A simple game written in Clojurescript and built for the web. The game itself is available online here. The code is modular and fairly decent. If you are arriving here from my blog note that I changed the architecture so that it would be cleaner and less messy.

Usage

Run lein figwheel in your terminal. Wait for a while until you see Successfully compiled "resources/public/js/main.js". Open localhost:3449 in your browser.

You can use this while developing your sketch. Whenever you save your source files the browser will automatically refresh everything, providing you with quick feedback. For more information about Figwheel, check the Figwheel repository on GitHub.

Publishing your sketch

Before you publish your sketch, run lein do clean, cljsbuild once optimized. This will compile your code and run Google Closure Compiler with advanced optimizations. Take resources/public/index.html and resources/public/js/main.js and upload them to server of your choice.

License

Copyright © 2017 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

A game written in Clojurescript to help me learn to do web dev stuff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published