Developer Plans
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Developer Plans
by Agetian » 04 Jul 2013, 18:12
I went ahead and implemented a very basic Planechase AI that rolls the planar die (RollPlanarDiceeAi.java). It is currently mostly a dumb "go ahead and roll / roll with a certain probability / don't roll at all because it's dangerous" type of thing, with some minor AI hint possibilities to specify the min turn in which it's viable to start rolling and the phase (main 1 or main 2) in which it's better to roll the planar die, but it's functional and I think it adds a bit of spice to the otherwise dull Planechase matches where the AI used to ignore the planar die altogether. In the process of adding this AI I also enhanced the AI profiles project a little bit (but not by much, mostly just by adding things related to planar die rolling). There are currently no plans to expand this AI by me, but if anyone feels up for the task, feel free to implement more wisdom for the Planechase AI (I guess something like "conditions for rolling" would be a nice thing to eventually have - to make the AI actually try to roll Chaos given the proper context instead of blindly).
As of right now, I'm off to a 2-week vacation in just a couple days. I'll see if I can schedule working a bit more on foils in the meantime. Once I come back, the order of my projects will go as follows:
1) Finishing the foils (your help is very very welcome while I'm away... please check the relevant thread and see if you can contribute a bit).
2) Finishing the AI profiles to a workable level where it starts to make a difference (+ adding a few more actual AI profiles).
3) Working on the Planechase AI a bit more (and possibly starting to veer a bit more towards AI coding in general).
- Agetian
As of right now, I'm off to a 2-week vacation in just a couple days. I'll see if I can schedule working a bit more on foils in the meantime. Once I come back, the order of my projects will go as follows:
1) Finishing the foils (your help is very very welcome while I'm away... please check the relevant thread and see if you can contribute a bit).
2) Finishing the AI profiles to a workable level where it starts to make a difference (+ adding a few more actual AI profiles).
3) Working on the Planechase AI a bit more (and possibly starting to veer a bit more towards AI coding in general).
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Developer Plans
by friarsol » 07 Jul 2013, 16:51
I'm gonna try to tackle Change Ownership cards like Bronze Tablet and Darkpact. This may bleed a bit into how ante currently works. With any luck this will fix the bug that doesn't display the first card won in ante as "NEW" in the deck editor after the match is over.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Developer Plans
by Max mtg » 17 Jul 2013, 20:32
I'll take a break here for a few weeks to focus on a project for my employer.
I won't contribute to forge during that time.
I won't contribute to forge during that time.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Developer Plans
by Max mtg » 25 Jul 2013, 08:18
My to do after 1.4.4:
* Make IStorage<T> implementation that reads files traverse subfolders and be iterable as both flat list and groupped by folders. Per popular request.
(The UI part of effort to support decks arranged into folders is up to the rest of the team.)
* Make IStorage<T> implementation that reads files traverse subfolders and be iterable as both flat list and groupped by folders. Per popular request.
(The UI part of effort to support decks arranged into folders is up to the rest of the team.)
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Developer Plans
by friarsol » 13 Aug 2013, 23:43
I coded up Phased In and Phased Out triggers, but for some reason they never actually hit the stack. It seems like they are triggering properly, but they seem to be getting cleared before they are actually added to the stack. Anyone have any ideas? I'm gonna be gone for a long weekend, so I uploaded the diff here in case anyone wants to scope it out.
- Attachments
-
- phasedTriggers.zip
- (1.36 KiB) Downloaded 226 times
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Developer Plans
by Marek14 » 14 Aug 2013, 06:23
Also, is it strictly necessary to read and convert deckfiles on start? Can't they just be read and converted (if that's necessary) on the fly?Max mtg wrote:My to do after 1.4.4:
* Make IStorage<T> implementation that reads files traverse subfolders and be iterable as both flat list and groupped by folders. Per popular request.
(The UI part of effort to support decks arranged into folders is up to the rest of the team.)
Re: Developer Plans
by Agetian » 17 Aug 2013, 05:45
I have to take another forced break from coding Forge, guys - the University projects demand my attention and that currently takes most of my spare time :\ I hope to be finished with them within approximately a month and will then continue working on foils. Good luck with all the ongoing Forge work!
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Developer Plans
by moomarc » 21 Aug 2013, 20:39
My wife is currently on holiday, so between my usual work from home and her holiday projects I won't be very active for the next week and a half. After that (or possibly before I guess) I'll finish the script for Grand Ossuary then hopefully a few other remaining cards. Thanks Sloth for getting token LKI working.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Developer Plans
by Max mtg » 11 Nov 2013, 18:19
I am about to change CardDb and FModel. I'm going to create a class called 'MagicDb' to hold all static data that doesn't depend on players (like cards, editions, formats and sealed products) and place it into 'core' project.
So please do not refactor any internals for a couple of days.
It would be also nice to extract the matching data from the res folder and move it to the top level - will take care of that next.
So please do not refactor any internals for a couple of days.
It would be also nice to extract the matching data from the res folder and move it to the top level - will take care of that next.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Developer Plans
by Max mtg » 19 Nov 2013, 07:43
Just commited a huge portion of changes.
Relocation of static resources will be done later
Relocation of static resources will be done later
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Developer Plans
by Max mtg » 21 Nov 2013, 23:02
CardRules became too littered by DeckAiHints and other stuff not related to card characteristics.
I'll refine the class in the meantime
I'll refine the class in the meantime
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Developer Plans
by swordshine » 20 Dec 2013, 14:25
I'll try to eliminate some hardcoded static abilities which are able to convert to Apibased scripts (Circling Vultures).
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Developer Plans
by Max mtg » 26 Dec 2013, 11:31
I'll be unavaliable for the 2 first weeks of 2014... approx from 3.01 through 13.01.14
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Developer Plans
by friarsol » 08 Jan 2014, 04:28
I think I should have Darkpact figured out the next time I get an hour or two to figure out why it's not allowing me to target, and hopefully I'll be able to Bronze Tablet and friends right after that.
Related to this, the ante Zone in the match layout doesn't seem to properly display the cards actually in the ante.
Related to this, the ante Zone in the match layout doesn't seem to properly display the cards actually in the ante.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Who is online
Users browsing this forum: No registered users and 88 guests