From: Erik V. <eri...@xs...> - 2011-03-14 11:06:05
|
There doesn’t yet seem to be a Correction mode option to shuffle or discard trains, so your special company probably is the only available workaround at this stage. Implementing an automatic train discard action at some predefined point is pretty trivial in Java, the main question (again) is: should this be made configurable in XML, or can it better be hardcoded in some game-specific subclass? To decide such questions, we would need an inventory of which variations exists, and in which games these occur. Erik. Van: John A. Tamplin [mailto:ja...@ja...] Verzonden: zondag 13 maart 2011 14:19 Aan: Development list for Rails: an 18xx game Onderwerp: Re: [Rails-devel] Foreigners Buy Trains On Sun, Mar 13, 2011 at 4:28 AM, Scott Petersen < <mailto:sc...@re...> sc...@re...> wrote: Any ideas on how to implement the "foreigners buy a train at the end of the set of ORs" rules that some Double-O games use (at least 1824/1844)? I am doing a workaround for my prototype by putting a well-funded company that starts in the bottom left space of the stock market. That way it always runs last and is in the yellow zone so it doesn't count as a certificate for the President. Luckily, it is an infinite bank, so no issue with cash movements. It seems to work in the meantime until I finalize the design, but does anyone have a more elegant way of doing this? It would be worth implementing this mechanism at some point. I will probably work on 1824 as my next Rails project. For those that are not familiar, the "foreigners buy" rule is that at the end of a set of ORs, the top train on the stack is discarded from the game. This could trigger the start of a new phase. 18FR-RCE does something similar, but allows the foreigners to discard two trains if they are of different rank. Another variant on this is to have the foreigners buy a train after every OR rather than set--I'm still experimenting with that. I think it is going to require Java code to implement. When implementing, consider variations, such as 1861 where the Russian state railroad buys trains as it has cash available. -- John A. Tamplin |