Skip to content
forked from geordanr/xwing

Squad builder for the X-Wing Miniatures game by Fantasy Flight Games.

License

Notifications You must be signed in to change notification settings

armoredgear7/xwing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(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

2 Oct 2014

  • Finally, support for tracking which expansions you own.

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

About

Squad builder for the X-Wing Miniatures game by Fantasy Flight Games.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 49.4%
  • CoffeeScript 31.8%
  • CSS 18.6%
  • Other 0.2%