|
Post by Joelercoaster on Dec 23, 2016 7:57:54 GMT -6
So, fun story - I decided to use my current down time to learn me a bit of programming. Because why not. Anyway.
I'm to the point where I'm ready to tackle a full (small) functional web-app. What with the recent drop of the fleet, I figure an army builder is an appropriate way to test my skills (I can already tell it's going to be convoluted) and give me an excuse to dig my nose deeper into that book with all the pretty pictures.
So my posting here is two-fold. Time-wise, I have just shy of two weeks (minus some family time around the holidays). Should be enough time, but again, haven't really tackled anything this extensive, so it's hard to say what roadblocks I'll hit (probably all of them). Hopefully having this idea "out there" will keep me trucking along on it instead of just giving up too early. Secondly, once I get the thing rolling (we're choosing optimism) it would be helpful to have some people to test/comment/suggest on how it works, in what ways it could be better, etc. So this is my preemptive 'gird your loins', because I expect everyone (at least a few people) who got DFC to be SUPER STOKED to have a hand-crafted army builder, ready to go (mind, I'll probably start with UCM as the base for simplicity, but I think adding other races would actually be pretty simple because they share the same comp structure).
Snootchies
|
|
|
Post by Joelercoaster on Dec 26, 2016 12:39:24 GMT -6
Alright... so I have the core base of functionality down (or so I think, at least). Now I'm going to start laying out the general design. My first thought is to look at BattleScribe and kind of borrow from their layout, as I've always found it generally easy to click around on my phone and fairly well laid out - was wondering if anyone had any thoughts on that? Design of this nature is definitely not my forte, so I'm def up for some suggestions and thoughts on layout.
|
|
|
Post by 1D3chan on Dec 26, 2016 19:30:37 GMT -6
Subscribed
|
|
|
Post by Nick P on Dec 28, 2016 8:15:23 GMT -6
Noice, now if only my KS pledge would arrive
|
|
|
Post by Joelercoaster on Dec 29, 2016 8:41:01 GMT -6
Still hasn't come in?? They're still sending E-mails saying they're trying to get the last orders out (they were not prepared for how popular it turned out to be). Hope it arrives soon! It's a great game so far. Even this project I'm doing in relation is fun! (except for the parts where I get the urge to defenestrate my computer)
|
|
|
Post by jefferestinpeace on Dec 29, 2016 9:09:32 GMT -6
Mine isn't in yet either!
|
|
|
Post by Joelercoaster on Dec 29, 2016 11:03:06 GMT -6
They must just love me more than both of you combined (I mean, I am building a program around their game that's totally a legal liability for me, but that's details). Plus side, I think you guys will collectively splooge over the models. It's both dynamic yet simple - core chassis, enough options to have variety but keeps realism alive with the "this class of ship has these weapons here" ideal. It's not 'bits friendly' like 40k, but really doesn't need to be IMHO. The starter-sets alone let you play a pretty good-sized game... with all of the extra's it'll get intense fast.
Anyway, actual update:
So I have basic CRUD functionality on everything up to battlegroups. That is to say, you can create groups, view all that you have created, update them, or delete them from the list. Battlegroups are formed from existing groups. Due to the way the databases interact, if you update a group, any battlegroup that includes that group sort-of updates (the name of the group is current, but the points aren't). Right now the only way to fix it is to update the battlegroup with the existing information (easy, but a little clunky). I'm planning to add an "update all" button to battlegroups to quickly sync everything you have saved.
I plan to also add "Fleets" in the same way (aka, full army lists), but at this point you can at least pick your 3-4 battlegroups off the page and pretty easily calculate points (so it's usable, but not ideal). It's also ugly as sin, as I haven't done any CSS/JS/JQuery. Function first.
Other "bug" - right now you can build illegal "squad sizes" and add any type of group to any Battlegroup (this will make sense when you see the rules, and how armies are actually built). With the design I want (not feeding you a single question at a time and then storing that info) the best way to make certain options unavailable 'on the fly' is by using JS/JQuery (which, as I mentioned, just isn't there yet).
Anyway, I think it's safe to say I'm in early Beta stages at this point, with some definite things I still want to add, but base functionality down. If anyone (who has the rulebook) is interested in giving it a spin - or anyone who just wants to see/comment on the design flow - let me know. You'll need a computer and a couple of basic design programs installed (aka you have to be able to run Ruby straight from your comp) but that really takes like 5 minutes.
|
|
|
Post by Nick P on Dec 29, 2016 11:05:14 GMT -6
Well me and Dex went in together, he might be bogarting the models and just not telling me, but I like to think he would text me if it arrived lol
|
|
|
Post by jefferestinpeace on Dec 29, 2016 11:29:16 GMT -6
Who's dex?
|
|
|
Post by Russell on Dec 29, 2016 14:16:36 GMT -6
Who's Jeff
|
|
|
Post by jefferestinpeace on Dec 29, 2016 14:42:28 GMT -6
mike's new dad/wife
|
|
|
Post by Nick P on Dec 30, 2016 9:20:59 GMT -6
Ahhh, the wonders of Utah
|
|
|
Post by Joelercoaster on Dec 30, 2016 15:09:14 GMT -6
Alright... Actually to the point where I could use some input.
I have what I think is a decent interface for building groups and battlegroups, but fleets come together a little differently.
Overview for those without rules yet...
Each ship has a group size to say how many can be found in a single group (aka squad). Then battlegroups include (usually) up to three groups (some restrictions based on what type of battlegroup).
Fleets are then made up of battlegroups, but its open beyond that. Since there's no limit on how many bg's you include (beyond total points) the question becomes how to display your options. Could have a list of available battlegroups with an add button by each, or use one or more drop down menus to select, or some other option.
Any thoughts?
|
|
|
Post by Joelercoaster on Jan 1, 2017 20:22:11 GMT -6
Alright you ingrates, it's done. I think. Hope? Mind, we're only talking the back-end functionality here... it's usable, but it's still dirt-ugly. But really I'm just looking for input on how it actually works. So there's that.
Lemme know when you knibbergy flibbits get your rules on, and mayhaps we can give it a test run?
|
|