GithubHelp home page GithubHelp logo

formikaio / azzanna-la-zucca Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 241 KB

Simulatore grafico per il gioco da scacchiera Azzanna la zucca

Home Page: http://www.formikaio.it/blog/azzanna-la-zucca/

License: MIT License

HTML 0.68% JavaScript 99.32%

azzanna-la-zucca's Introduction

Azzanna la zucca

Simulatore grafico per il gioco da scacchiera Azzanna la zucca.

Regole del gioco

Azzanna la zucca è un gioco asimmetrico.

I maiali vincono quando riescono a ridurre il numero delle Zucche in gioco a 2 o meno. Le Zucche vincono se sopravvivono per almeno 20 turni.

Nel simulatore muovi i Maiali, con le frecce su tastiera o tramite swipe da tablet o smartphone.

Premi r sulla tastiera per attivare l'autoplay.

Le regole complete del gioco sono qui: https://www.formikaio.it/blog/azzanna-la-zucca/

Demo online del simulatore

https://www.whiletrue.it/azzanna-la-zucca/

Librerie utilizzate

  • Phaser, motore grafico
  • Babel, supporto sintassi ES2015
  • Webpack, generatore la build e dev server

Come si usa

  • $ npm install -g webpack webpack-dev-server
  • $ cd CARTELLA
  • $ npm install

Poi, per visualizzare:

  • $ webpack-dev-server
  • puntare il browser su localhost:8080

Per compilare solamente:

  • $ webpack

TODO

  • pulisci i cicli for, sposta codice mossa pigs nel modulo

  • sistema moveMyTile (riduci complessità)

  • update babel, phaser.js & hammer.js

  • recupera librerie con npm

Tutorial

azzanna-la-zucca's People

Contributors

formikaio avatar

Watchers

 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.