Giter Site home page Giter Site logo

xwing's Introduction

(Yet Another) X-Wing Miniatures Squad Builder

Build Status

What?

This is a squad builder for Fantasy Flight Games' X-Wing Miniatures game, completely in HTML and JavaScript. No backend is necessary. It can theoretically be dropped into any existing site, but since it uses a lot of styling from Twitter Bootstrap it may require some CSS trickery if you're using some other incompatible framework (e.g. Foundation).

Can I save squads or share them on $SOCIAL_NETWORK?

Saving: yes, if you provide a backend that adheres to the API. See my X-Wing Backend project for an example. Sharing, no.

Aren't there other squad builders out there already?

Yes.

So...?

I wanted a project to work on and screw around with stuff like HAML and Bootstrap and Select2, etc.

When will this be done?

It's an ongoing process.

Building

  1. Install Node.js to get npm.
  2. Run sudo npm install to install the dependencies listed in package.json.
  3. Install Ruby to get gem.
  4. Install Bundler: sudo gem install bundler
  5. Use Bundler to install the remaining dependencies listed in Gemfile: sudo bundle install

Then run cake build and all the HTML, CoffeeScript, and CSS files will be created.

Installing

Someday I'll make this a cake target, but until then:

Download and extract Bootstrap, FontAwesome, and Select2 into the top level.

cp -r *.html fontawesome bootstrap fonts images javascripts select2-* stylesheets coffeescripts $YOUR_WEB_ROOT

Credits

X-Wing Miniatures is by Fantasy Flight Games. Icons and fonts were taken from GeckoTH's excellent PSD, available here. German translations courtesy @failgod-marcus. Maneuver dials by @hpanderson. Spanish translations courtesy evil_wins Solo from BoardGameGeek forums.

CHANGELOG

23 Apr 2014

  • Add support for Epic play rules. Squads saved in previous versions will not remember their game mode; re-saving them should fix it.

13 Apr 2014

  • Spanish translations provided by evil_wins Solo from BoardGameGeek forums.

2 Apr 2014

  • Maneuver dials are now displayed and are updated by upgrades! Thanks to @hpanderson for the contribution.

29 Mar 2014

  • Selecting Fancy or Simple now affects what kind of printout you get.

23 Mar 2014

  • Add ship selector dropdown. Pilot selector now only shows pilots for selected ship.

18 Mar 2014

  • Add cards from Rebel Aces reveal.
  • German translations for Imperial Aces provided by @failgod-marcus.

21 Feb 2014

  • Add cards from Tantive IV reveal.
  • Note: Limited is not supported, yet. Fore and Aft parts of a ship are not linked, nor are required to both exist.
  • Currently R2-D2 can exist both as Crew and as an Astromech. This will be resolved later.

17 Feb 2014

  • Add desired/remaining points.

7 Feb 2014

  • Add cards revealed in Wave 4 preview.
  • Sources are now properly sorted in the Card Browser.

1 Feb 2014

  • Add ships revealed in Rebel Transport preview.
  • Add new icons from GeckoTH.

30 Nov 2013

  • Add support for translations.
  • Add German translations by @failgod-marcus.

8 Oct 2013

  • The simple version of View as Text returns!
  • Sources for each card are now visible in the main builder.

4 Oct 2013

  • Add ability to clear current squad and start a new one.
  • Add ability to clone non-unique pilots and their non-unique addons.

18 Sep 2013

  • Add ships from Imperial Aces unveil.
  • Update serialization to support new title functionality in Imperial Aces.
  • Display effective ship stats.

13 Sep 2013

  • Fancy printout; design inspired by TheKestrel off the FFG forums.

8 Sep 2013

  • Finish Wave 3 ship integration.
  • Add unique dots.
  • Monkeypatch Select2 to stop focusing on the search input when on mobile.

29 May 2013

  • Add card browser.
  • Upgrade to Select2 3.4.0.

20 Apr 2013

  • Add support for backend storage.

5 Jan 2013

  • Add fonts and more images from GeckoTH.

31 Dec 2012

  • Add random squad builder. Will attempt to generate a squad totalling the given number of points, stopping after a certain period of time or iterations. May go over. It's random.

30 Dec 2012

xwing's People

Contributors

hpanderson avatar geordanr avatar failgod-marcus avatar mathematicalconscience avatar

Watchers

James Cloos 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.