From: Erik V. <eri...@xs...> - 2012-01-02 19:45:27
|
> -----Original Message----- > From: Stefan Frey [mailto:ste...@we...] > Sent: Monday, January 02, 2012 7:26 PM > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] Push request: Enforcement of forced train > purchases > > Erik: > running a virtual 2-train for any game is essentially identical to > > > i) Check if there is a route that connects one home token of the > > company with another scoring node (which is a valid terminate for a > > train in this > game). No, my point is that these two conditions aren't identical in some cases. In 18VA, a 2-train would score $0 between Lynchburg and Roanoke (the route is invalid), whereas a 1G-train would score at least $50. "A train" is not the same as "a 2-train". However, this is just a warning from my side, as I'm currently not aware of any games where it really matters. Erik. > which was the option you preferred. > > However it avoids adding further route finding code (which would be > essentially code duplication). Or do you have other ideas in mind? > > Stefan > > > On Monday, January 02, 2012 01:31:52 pm Erik Vos wrote: > > > My current favorite for an implementation is to run a virtual > > > 2-train and > > > > check > > > > > if it shows non-zero income => Company has a route. That will run > > > fast, is easy to implement and very close to what players might > > > usually expect. > > > > This > > > > > method could/should be implemented inside the algorithm package. > > > > Please be aware that in some games a minimal route requires a > > different train, such as the good trains in 18VA and 1837 (coal companies). > > In these cases that doesn't pose a problem because trains are always > > (18VA) or never (1837 CC) required, but other cases may be different. > > That's why I'm not too happy with linking route existence to specific > > trains. > > > > Erik. > > > > > > ---------------------------------------------------------------------- > > ----- > > --- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a > > complex infrastructure or vast IT resources to deliver seamless, > > secure access to virtual desktops. With this all-in-one solution, > > easily deploy virtual desktops for less than the cost of PCs and save > > 60% on VDI infrastructure costs. Try it free! > > http://p.sf.net/sfu/Citrix-VDIinabox > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > ---------------------------------------------------------------------------- -- > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual desktops > for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it > free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |