From: Michael A. <out...@gm...> - 2014-01-27 20:03:08
|
I am considering trying to implement 1862 in Rails. Much of it is pretty straight-forward, but there are a couple of significant hurdles. 1) 1862 has a new type of rounds - "Parliamentary Rounds". These come before each stock round. I suppose they could be done as part of the stock rounds, but it would probably be a lot cleaner to have a new round type. 2) Run calculation will be brutal, and probably need to be written from scratch for 1862. There are three train types in 1862, and they can run on the same track, but each city can only count once. Also, if I do this, should it go straight into 2.0 or should I start in 1.8? Mike |
From: brett l. <bre...@gm...> - 2014-01-27 20:08:57
|
On Mon, Jan 27, 2014 at 3:03 PM, Michael Alexander <out...@gm...>wrote: > I am considering trying to implement 1862 in Rails. Much of it is pretty > straight-forward, but there are a couple of significant hurdles. > > 1) 1862 has a new type of rounds - "Parliamentary Rounds". These come > before each stock round. I suppose they could be done as part of the stock > rounds, but it would probably be a lot cleaner to have a new round type. > > 2) Run calculation will be brutal, and probably need to be written from > scratch for 1862. There are three train types in 1862, and they can run on > the same track, but each city can only count once. > > Also, if I do this, should it go straight into 2.0 or should I start in > 1.8? > > Mike > It sounds like Stefan is really close to releasing 2.0, so that's what I would recommend targeting. That said, there's several pieces that can be implemented at any time, such as the map and stock market XML files, the tile manifests, etc. Parlimentary rounds will just be another specialized sub-class of Round. There's already examples to help guide your way. ---Brett. |
From: Chris S. <chr...@gm...> - 2014-01-27 20:53:17
|
If you implement it without automatic route calculation, many of us will still be very happy. We can count our routes manually for now. Calculation could be an add-on for later. -- Chris *Warning! NSA analysts could be reading this email. And because there’s hardly any accountability, we have no idea how they may use it. If that bothers you, click here to do something about it. <https://www.aclu.org/secure/stopnsa>* On Mon, Jan 27, 2014 at 12:08 PM, brett lentz <bre...@gm...> wrote: > > On Mon, Jan 27, 2014 at 3:03 PM, Michael Alexander < > out...@gm...> wrote: > >> I am considering trying to implement 1862 in Rails. Much of it is pretty >> straight-forward, but there are a couple of significant hurdles. >> >> 1) 1862 has a new type of rounds - "Parliamentary Rounds". These come >> before each stock round. I suppose they could be done as part of the stock >> rounds, but it would probably be a lot cleaner to have a new round type. >> >> 2) Run calculation will be brutal, and probably need to be written from >> scratch for 1862. There are three train types in 1862, and they can run on >> the same track, but each city can only count once. >> >> Also, if I do this, should it go straight into 2.0 or should I start in >> 1.8? >> >> Mike >> > > > It sounds like Stefan is really close to releasing 2.0, so that's what I > would recommend targeting. > > That said, there's several pieces that can be implemented at any time, > such as the map and stock market XML files, the tile manifests, etc. > > Parlimentary rounds will just be another specialized sub-class of Round. > There's already examples to help guide your way. > > ---Brett. > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Michael A. <out...@gm...> - 2014-01-27 22:38:22
|
Don't get your hopes up that it will be soon - but I'll probably get started before too long. On Mon, Jan 27, 2014 at 3:53 PM, Chris Shaffer <chr...@gm...>wrote: > If you implement it without automatic route calculation, many of us will > still be very happy. We can count our routes manually for now. Calculation > could be an add-on for later. > > > -- > Chris > > *Warning! NSA analysts could be reading this email. And because there’s > hardly any accountability, we have no idea how they may use it. If that > bothers you, click here to do something about it. > <https://www.aclu.org/secure/stopnsa>* > > > On Mon, Jan 27, 2014 at 12:08 PM, brett lentz <bre...@gm...>wrote: > >> >> On Mon, Jan 27, 2014 at 3:03 PM, Michael Alexander < >> out...@gm...> wrote: >> >>> I am considering trying to implement 1862 in Rails. Much of it is >>> pretty straight-forward, but there are a couple of significant hurdles. >>> >>> 1) 1862 has a new type of rounds - "Parliamentary Rounds". These come >>> before each stock round. I suppose they could be done as part of the stock >>> rounds, but it would probably be a lot cleaner to have a new round type. >>> >>> 2) Run calculation will be brutal, and probably need to be written from >>> scratch for 1862. There are three train types in 1862, and they can run on >>> the same track, but each city can only count once. >>> >>> Also, if I do this, should it go straight into 2.0 or should I start in >>> 1.8? >>> >>> Mike >>> >> >> >> It sounds like Stefan is really close to releasing 2.0, so that's what I >> would recommend targeting. >> >> That said, there's several pieces that can be implemented at any time, >> such as the map and stock market XML files, the tile manifests, etc. >> >> Parlimentary rounds will just be another specialized sub-class of Round. >> There's already examples to help guide your way. >> >> ---Brett. >> >> >> ------------------------------------------------------------------------------ >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Michael A. <out...@gm...> - 2014-01-28 05:20:20
|
Which 2.0 branch should I work in? merge, unfinished, or develop? On Mon, Jan 27, 2014 at 5:38 PM, Michael Alexander <out...@gm...>wrote: > Don't get your hopes up that it will be soon - but I'll probably get > started before too long. > > > On Mon, Jan 27, 2014 at 3:53 PM, Chris Shaffer <chr...@gm...>wrote: > >> If you implement it without automatic route calculation, many of us will >> still be very happy. We can count our routes manually for now. Calculation >> could be an add-on for later. >> >> >> -- >> Chris >> >> *Warning! NSA analysts could be reading this email. And because there’s >> hardly any accountability, we have no idea how they may use it. If that >> bothers you, click here to do something about it. >> <https://www.aclu.org/secure/stopnsa>* >> >> >> On Mon, Jan 27, 2014 at 12:08 PM, brett lentz <bre...@gm...>wrote: >> >>> >>> On Mon, Jan 27, 2014 at 3:03 PM, Michael Alexander < >>> out...@gm...> wrote: >>> >>>> I am considering trying to implement 1862 in Rails. Much of it is >>>> pretty straight-forward, but there are a couple of significant hurdles. >>>> >>>> 1) 1862 has a new type of rounds - "Parliamentary Rounds". These come >>>> before each stock round. I suppose they could be done as part of the stock >>>> rounds, but it would probably be a lot cleaner to have a new round type. >>>> >>>> 2) Run calculation will be brutal, and probably need to be written >>>> from scratch for 1862. There are three train types in 1862, and they can >>>> run on the same track, but each city can only count once. >>>> >>>> Also, if I do this, should it go straight into 2.0 or should I start in >>>> 1.8? >>>> >>>> Mike >>>> >>> >>> >>> It sounds like Stefan is really close to releasing 2.0, so that's what I >>> would recommend targeting. >>> >>> That said, there's several pieces that can be implemented at any time, >>> such as the map and stock market XML files, the tile manifests, etc. >>> >>> Parlimentary rounds will just be another specialized sub-class of Round. >>> There's already examples to help guide your way. >>> >>> ---Brett. >>> >>> >>> ------------------------------------------------------------------------------ >>> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >>> Learn Why More Businesses Are Choosing CenturyLink Cloud For >>> Critical Workloads, Development Environments & Everything In Between. >>> Get a Quote or Start a Free Trial Today. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Rails-devel mailing list >>> Rai...@li... >>> https://lists.sourceforge.net/lists/listinfo/rails-devel >>> >>> >> >> >> ------------------------------------------------------------------------------ >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> > |
From: Stefan F. <ste...@we...> - 2014-01-28 08:13:20
|
Mike: great proposal to volunteer on 1862 ;-) As 1880 not an easy one. However in general I think targeting the newer titles is a good idea, as they are more likely to be played and usually they are not supported by Lemmis moderator. Some comments below. On 01/27/2014 09:03 PM, Michael Alexander wrote: > I am considering trying to implement 1862 in Rails. Much of it is > pretty straight-forward, but there are a couple of significant hurdles. > > 1) 1862 has a new type of rounds - "Parliamentary Rounds". These come > before each stock round. I suppose they could be done as part of the > stock rounds, but it would probably be a lot cleaner to have a new round > type. As I mentioned before on this list, I intend to change the Round mechanism to use mechanisms based on compositions/interfaces instead of the current sub-classing approach which in fact exposes everything of the parent class as an interface. However this will be 2.1. so feel free to start with existing approach. > > 2) Run calculation will be brutal, and probably need to be written from > scratch for 1862. There are three train types in 1862, and they can run > on the same track, but each city can only count once. From my first reading of the train rules it seems that there is no rule which is impossible to implement with the current calculation mechanism. The current implementation already allows trains based on hex-distance (freight trains). The other train types are also supported. Running all trains independently, but counting stations only once will be achieved by changing the network graph. You will have each station included multiple times equal the number of trains, but only once it will have a non-zero score. Using "vertex-visit" sets ensures that only one of the nodes per city will be connected by each train. The various rules that apply to the intersection of trains and visiting tokens will be checked by a dynamic modifier which sets invalid train run combinations to a zero score. However I agree that 1862 without it is already an achievement. > > Also, if I do this, should it go straight into 2.0 or should I start in 1.8? Go to 2.0. I am currently merging and picking from the various branches for the alpha release. After the alpha release (from later today hopefully) please use rails_2_develop. Stefan |