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).
Saving: yes, if you provide a backend that adheres to the API. See my X-Wing Backend project for an example. Sharing, no.
Yes.
I wanted a project to work on and screw around with stuff like HAML and Bootstrap and Select2, etc.
It's an ongoing process.
- Install Node.js to get
npm
. - Run
sudo npm install
to install the dependencies listed inpackage.json
. - Install Ruby to get
gem
. - Install Bundler:
sudo gem install bundler
- 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.
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
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.
- Add support for Epic play rules. Squads saved in previous versions will not remember their game mode; re-saving them should fix it.
- Spanish translations provided by evil_wins Solo from BoardGameGeek forums.
- Maneuver dials are now displayed and are updated by upgrades! Thanks to @hpanderson for the contribution.
- Selecting Fancy or Simple now affects what kind of printout you get.
- Add ship selector dropdown. Pilot selector now only shows pilots for selected ship.
- Add cards from Rebel Aces reveal.
- German translations for Imperial Aces provided by @failgod-marcus.
- 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.
- Add desired/remaining points.
- Add cards revealed in Wave 4 preview.
- Sources are now properly sorted in the Card Browser.
- Add ships revealed in Rebel Transport preview.
- Add new icons from GeckoTH.
- Add support for translations.
- Add German translations by @failgod-marcus.
- The simple version of View as Text returns!
- Sources for each card are now visible in the main builder.
- Add ability to clear current squad and start a new one.
- Add ability to clone non-unique pilots and their non-unique addons.
- Add ships from Imperial Aces unveil.
- Update serialization to support new title functionality in Imperial Aces.
- Display effective ship stats.
- Fancy printout; design inspired by TheKestrel off the FFG forums.
- Finish Wave 3 ship integration.
- Add unique dots.
- Monkeypatch Select2 to stop focusing on the search input when on mobile.
- Add card browser.
- Upgrade to Select2 3.4.0.
- Add support for backend storage.
- Add fonts and more images from GeckoTH.
- 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.
- Overhaul backend to be much less crappy.
- Add full support for Wave 2 ships (from what I can tell from what's been spoiled on BoardGameGeek.
- Switch from Foundation to Twitter Bootstrap.
- Switch from Chosen to Select2.
- Now has a printer-friendly mode.