Giter Club home page Giter Club logo

snakeq's Introduction

Qsnake

That's a basic "Snake" game written in ClojureScript. To run install Leiningen and then run make.

It will tell you to open http://localhost:3449/ in the browser. Do that.

Change src/snake/core.cljs when figwheel is running and observe it being immediately executed by browser (immediate means it takes 0.1-0.3s to compile and then loads new code in your browser without changing state). Source maps are enabled so you're all set.

There is also advanced compilation configured, so you can do make www and it will put optimized version inside of www directory (be patient, it can take half a minute depending on your machine).

There is also an article describing whole setup.

snakeq's People

Contributors

piranha avatar

Stargazers

bogdan demchenko avatar Angus H. avatar  avatar null friday avatar Daniel Mendalka avatar Ihor avatar Alex Shyshko avatar Michiel van Oosten avatar Sébastien Arnaud avatar Florian Benz avatar Roma Chi avatar Luboš Karásek avatar Klaus Trainer avatar Piotr Jagielski avatar Raimon Grau avatar Alek Malaszkiewicz avatar Danilo Resende avatar Anton Dubovik avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.