Giter Club home page Giter Club logo

burgle's Introduction

Burgle Build Status

Collection of tools and utilities to help gameplay for Burgle Brothers© by Tim Fowers

Floor Generator

The primary purpose of this project. Assists play by generating floors for games. Aiming for pure javascript with no dependencies. Thanks to a contribution from another player/developer, this can be installed as an app on your phone.

Running

I'm able to just open the index.html found in the base directory. If that doesn't work, try nodejs:

> npm install -g http-server
> http-server

Then open your browser to http://localhost:8080

Testing

Mocha is used for testing. If you don't have nodejs and mocha set up, first install nodejs, then run:

> npm install -g mocha
> npm install
> mocha 

I tried using grunt at first, but it was painfully slow. Using mocha directly is really fast.

Deployment

Deployment is really nothing more than creating a dist directory and minimizing javascript. The project works out of the checked out directory with no build, so you can make changes and refresh without having to build first.

> grunt

This will create a dist directory containing only the files you need for the html5 app to work.

layout_stats - Calcuating difficulty

This contains is a single c++ program that brute forces all the possible layouts. It isn't part of the project in the standard way, just a tool I used to come up with useful numbers.

Max heat with 8 walls: 183

Heat is determined by walking all path combinations and adding 1 for every traversal

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.