From: Michael A. <out...@gm...> - 2013-09-30 03:45:16
|
In 1880, a player choose upon opening a company if he wants that company to have a 20%, a 30%, or a 40% president's certificate. This can't be simulated by just giving them extra 10% shares at the start, because it only counts as 1 against the share limit. Also, the president can't sell down to 30% if he has a 40% president's share (assuming he isn't dumping the company on someone who doesn't have 40%). Any advice on how to implement this? |
From: Mike B. <com...@ip...> - 2013-09-30 04:15:52
|
The simplest way of simulating this behaviour that comes to mind is with 10% certificates and an increase in the share limit, but that would not be very satisfactory. Mike Bourke Campaign Mastery http://www.campaignmastery.com <http://www.campaignmastery.com/> Co-author, Assassin's Amulet <http://www.legaciescampaignsetting.com/> http://www.legaciescampaignsetting.com _____ From: Michael Alexander [mailto:out...@gm...] Sent: Monday, 30 September 2013 1:45 PM To: Development list for Rails: an 18xx game Subject: [Rails-devel] 1880: President Certificates In 1880, a player choose upon opening a company if he wants that company to have a 20%, a 30%, or a 40% president's certificate. This can't be simulated by just giving them extra 10% shares at the start, because it only counts as 1 against the share limit. Also, the president can't sell down to 30% if he has a 40% president's share (assuming he isn't dumping the company on someone who doesn't have 40%). Any advice on how to implement this? |
From: John A. T. <ja...@ja...> - 2013-09-30 04:17:15
|
On Sun, Sep 29, 2013 at 11:45 PM, Michael Alexander <out...@gm... > wrote: > In 1880, a player choose upon opening a company if he wants that company > to have a 20%, a 30%, or a 40% president's certificate. This can't be > simulated by just giving them extra 10% shares at the start, because it > only counts as 1 against the share limit. Also, the president can't sell > down to 30% if he has a 40% president's share (assuming he isn't dumping > the company on someone who doesn't have 40%). > > Any advice on how to implement this? > Many games have some president's certificates that aren't 20%, so make sure it supports those as well. -- John A. Tamplin |
From: Michael A. <out...@gm...> - 2013-09-30 04:20:11
|
Are there other games that do it dynamically? Actually, the CGR in 1856 comes to mind... On Sun, Sep 29, 2013 at 11:47 PM, John A. Tamplin <ja...@ja...> wrote: > On Sun, Sep 29, 2013 at 11:45 PM, Michael Alexander < > out...@gm...> wrote: > >> In 1880, a player choose upon opening a company if he wants that company >> to have a 20%, a 30%, or a 40% president's certificate. This can't be >> simulated by just giving them extra 10% shares at the start, because it >> only counts as 1 against the share limit. Also, the president can't sell >> down to 30% if he has a 40% president's share (assuming he isn't dumping >> the company on someone who doesn't have 40%). >> >> Any advice on how to implement this? >> > > Many games have some president's certificates that aren't 20%, so make > sure it supports those as well. > > -- > John A. Tamplin > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Michael A. <out...@gm...> - 2013-09-30 04:39:03
|
One way that it could be done would be to start with a 20% share defined in the XML file, then if during the floatCompany call it was determined I needed a 30% (or 40%) share instead, I could up the shares value in the certificate and scrap one (or two) of the 10% shares. The only problem with that is that it requires the addition of a "setShares" call inside "PublicCertificate", which in turn invalidates all the checking that is done to make sure that exactly 100% of a company is available. On Mon, Sep 30, 2013 at 12:20 AM, Michael Alexander <out...@gm... > wrote: > Are there other games that do it dynamically? Actually, the CGR in 1856 > comes to mind... > > > On Sun, Sep 29, 2013 at 11:47 PM, John A. Tamplin <ja...@ja...> wrote: > >> On Sun, Sep 29, 2013 at 11:45 PM, Michael Alexander < >> out...@gm...> wrote: >> >>> In 1880, a player choose upon opening a company if he wants that company >>> to have a 20%, a 30%, or a 40% president's certificate. This can't be >>> simulated by just giving them extra 10% shares at the start, because it >>> only counts as 1 against the share limit. Also, the president can't sell >>> down to 30% if he has a 40% president's share (assuming he isn't dumping >>> the company on someone who doesn't have 40%). >>> >>> Any advice on how to implement this? >>> >> >> Many games have some president's certificates that aren't 20%, so make >> sure it supports those as well. >> >> -- >> John A. Tamplin >> >> >> ------------------------------------------------------------------------------ >> October Webinars: Code for Performance >> Free Intel webinars can help you accelerate application performance. >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >> from >> the latest Intel processors and coprocessors. See abstracts and register > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> > |
From: Michael A. <out...@gm...> - 2013-09-30 04:55:50
|
Sorry - I meant inside "startCompany", not "floatCompany". On Mon, Sep 30, 2013 at 12:38 AM, Michael Alexander <out...@gm... > wrote: > One way that it could be done would be to start with a 20% share defined > in the XML file, then if during the floatCompany call it was determined I > needed a 30% (or 40%) share instead, I could up the shares value in the > certificate and scrap one (or two) of the 10% shares. > > The only problem with that is that it requires the addition of a > "setShares" call inside "PublicCertificate", which in turn invalidates all > the checking that is done to make sure that exactly 100% of a company is > available. > > > On Mon, Sep 30, 2013 at 12:20 AM, Michael Alexander < > out...@gm...> wrote: > >> Are there other games that do it dynamically? Actually, the CGR in 1856 >> comes to mind... >> >> >> On Sun, Sep 29, 2013 at 11:47 PM, John A. Tamplin <ja...@ja...> wrote: >> >>> On Sun, Sep 29, 2013 at 11:45 PM, Michael Alexander < >>> out...@gm...> wrote: >>> >>>> In 1880, a player choose upon opening a company if he wants that >>>> company to have a 20%, a 30%, or a 40% president's certificate. This can't >>>> be simulated by just giving them extra 10% shares at the start, because it >>>> only counts as 1 against the share limit. Also, the president can't sell >>>> down to 30% if he has a 40% president's share (assuming he isn't dumping >>>> the company on someone who doesn't have 40%). >>>> >>>> Any advice on how to implement this? >>>> >>> >>> Many games have some president's certificates that aren't 20%, so make >>> sure it supports those as well. >>> >>> -- >>> John A. Tamplin >>> >>> >>> ------------------------------------------------------------------------------ >>> October Webinars: Code for Performance >>> Free Intel webinars can help you accelerate application performance. >>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most >>> from >>> the latest Intel processors and coprocessors. See abstracts and register >>> > >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Rails-devel mailing list >>> Rai...@li... >>> https://lists.sourceforge.net/lists/listinfo/rails-devel >>> >>> >> > |
From: Stefan F. <ste...@we...> - 2013-09-30 10:57:52
|
Again some quick comments, see below. On 09/30/2013 05:45 AM, Michael Alexander wrote: > In 1880, a player choose upon opening a company if he wants that company > to have a 20%, a 30%, or a 40% president's certificate. This can't be > simulated by just giving them extra 10% shares at the start, because it > only counts as 1 against the share limit. Also, the president can't > sell down to 30% if he has a 40% president's share (assuming he isn't > dumping the company on someone who doesn't have 40%). > > Any advice on how to implement this? > My recommendations are identical to the last of your proposal, only pointing out to change share to an IntegerState. To avoid any misunderstanding I explain how I would do it. A) Change field shares in PublicCertficate class to an IntegerState to allow dynamic changes. B) Create a president certificates based on 20% definition and certificates of 10% for a full 100%. C) At the time purchase of the president certificate, if needed, change the value of share for the president certificate and move the redundant 10% certificates to the scrapheap (see Bank class). Change the value of share for those to zero. D) You will have to change the UI to allow choice of the president certificates shares and extend/augment the StartCompany/BuyCertificate actions for the additional choice. E) The change of president code in various StockRound class methods should still work, as the do not rely on the fixed assumption of 20% for the president share already. However extensive testing is recommended. The proposal ensurses the following assumptions at every point in the game and is undo-proof. 1) All certificates are created at initialization. 2) The sum of the field "share" of all certificates equals 100 / shareUnit, thus in 1880 10. "shareUnit" is a field of PublicCompany. Follow-up questions were: > Are there other games that do it dynamically? Actually, the CGR in 1856 comes to mind... I have no checked exactly how this is done in 1856, but if I remember correctly it is done similar. Maybe Erik can shed more light on this. > One way that it could be done would be to start with a 20% share defined in the XML file, > then if during the floatCompany call it was determined I needed a 30% (or 40%) share instead, > I could up the shares value in the certificate and scrap one (or two) of the 10% shares. nearly exactly what I outline in my own words above. |
From: Michael A. <out...@gm...> - 2013-09-30 11:43:17
|
Just as a thought, what would you think about having a method inside Public Certificate that you would call on the president's share, passing in another share, and inside the method it would "combine" them? That would eliminate exposing the share value to be written, and guarantee that exactly 100% of the company was still in play. 1880 already has the change in the UI, so that is not a problem. :) On Mon, Sep 30, 2013 at 6:57 AM, Stefan Frey <ste...@we...> wrote: > Again some quick comments, see below. > > On 09/30/2013 05:45 AM, Michael Alexander wrote: > > In 1880, a player choose upon opening a company if he wants that company > > to have a 20%, a 30%, or a 40% president's certificate. This can't be > > simulated by just giving them extra 10% shares at the start, because it > > only counts as 1 against the share limit. Also, the president can't > > sell down to 30% if he has a 40% president's share (assuming he isn't > > dumping the company on someone who doesn't have 40%). > > > > Any advice on how to implement this? > > > > My recommendations are identical to the last of your proposal, only > pointing out to change share to an IntegerState. > To avoid any misunderstanding I explain how I would do it. > > A) Change field shares in PublicCertficate class to an IntegerState to > allow dynamic changes. > > B) Create a president certificates based on 20% definition and > certificates of 10% for a full 100%. > > C) At the time purchase of the president certificate, if needed, change > the value of share for the president certificate and move the redundant > 10% certificates to the scrapheap (see Bank class). Change the value of > share for those to zero. > > D) You will have to change the UI to allow choice of the president > certificates shares and extend/augment the StartCompany/BuyCertificate > actions for the additional choice. > > E) The change of president code in various StockRound class methods > should still work, as the do not rely on the fixed assumption of 20% for > the president share already. However extensive testing is recommended. > > The proposal ensurses the following assumptions at every point in the > game and is undo-proof. > > 1) All certificates are created at initialization. > 2) The sum of the field "share" of all certificates equals 100 / > shareUnit, thus in 1880 10. "shareUnit" is a field of PublicCompany. > > Follow-up questions were: > > > Are there other games that do it dynamically? Actually, the CGR in 1856 > comes to mind... > > I have no checked exactly how this is done in 1856, but if I remember > correctly it is done similar. Maybe Erik can shed more light on this. > > > One way that it could be done would be to start with a 20% share defined > in the XML file, > > then if during the floatCompany call it was determined I needed a 30% > (or 40%) share instead, > > I could up the shares value in the certificate and scrap one (or two) of > the 10% shares. > > nearly exactly what I outline in my own words above. > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Erik V. <eri...@xs...> - 2013-10-02 20:13:34
|
> > Are there other games that do it dynamically? Actually, the CGR in 1856 > comes to mind... > > I have no checked exactly how this is done in 1856, but if I remember > correctly it is done similar. Maybe Erik can shed more light on this. The CGR certificates are created as 20 5% shares. If 10 shares suffice, the first 10 certificates are changed into 10% shares (actually, I believe only a single shareUnit variable has to be changed to achieve this), and the remaining 10 are discarded. > > One way that it could be done would be to start with a 20% share > > defined in the XML file, then if during the floatCompany call it was > > determined I needed a 30% (or 40%) share instead, I could up the shares > value in the certificate and scrap one (or two) of the 10% shares. > > nearly exactly what I outline in my own words above. I agree. Erik |