From: Håkan K. <sou...@ha...> - 2010-03-08 12:56:05
|
Hi there, I had a few questions about rails development in general and 1825 in particular. Since I'm new here and the only name I recognize among the current developers is Chris 'The Cat' Shaffer I'll start with a small introduction before I get to my questions. My name is Håkan König. I like to play 18xx and boardgames in general, something which has taken me to BoardgameGeek under the alias of hakko504. Right now I'm working as a consultant with android development in JAVA in an assignment about to end any day now. Unless we get a new customer, I will get laid off before the end of the month at which point I will have a lot of free time, and a need to improve my JAVA knowledge. As I've used the Rails app for a while to satisfy my appetite for 18xx I thought I'd come and see if you needed any development help here while at the same time expanding my knowledge in JAVA. I have downloaded the current repository from the CVS and started to look at the code and made sure it compiles in Eclipse. And then I came up with the idea of adding 1825 support to the app since it's the 18xx I'm mostly familiar with which isn't already supported or in development. I started searching in the archives and the only thing I could find was a small references to 1825, in the thread Stockmarket type where a discussion started about a linear stockmarket with multiple jumps. In the future I may also be interested in doing 1861 if 1825 turns out to be successful. So, the question I'm trying to ask is: Do you need any help? I'm beginner in JAVA but I have by now close to 10 years of programming experience from mostly C & C++, and during the last 6 months I've been working with JAVA on android. An of course, is there any interest in 1825, and has anything useful been done there? I can't find anything in the CVS main trunk, but Phil Davies posted here a while ago that he'd been looking at the possibility, but no specifics. I have quite a few ides but I'm not sure how to implement all of them. I forsee problems with supporting different combinations of Units/regionals/Kits (changing maps, available tiles, available trains, size of main bank etc.), as well as separate banks for players and companies. Anyway, That's me, and my interest in Rails. Håkan BTW, my main sourceforgeid is hakko504 as well, but that is linked to a slightly different emailaddress, without the .rails before the @ sign. Don't be confused, as long as it says @hakko.eml.cc it's me ;) |
From: brett l. <bre...@gm...> - 2010-03-08 17:36:43
|
2010/3/8 Håkan König <sou...@ha...>: > So, the question I'm trying to ask is: Do you need any help? Hi there! Welcome to the project. We can always use more help. There's plenty to do, both big projects and small tasks. For at least your first few change sets, just send patches to the list. Unified diffs are the preferred format. This gives us all a chance to comment on your proposed changes, and helps you learn what things we care about. If you'd like to see what's on our to-do lists, have a look through the mailing list archives. ---Brett. |
From: Jeffrey B. M. <mc...@br...> - 2010-03-08 19:56:04
|
On Mon, Mar 08, 2010 at 09:36:22AM -0800, brett lentz wrote: > 2010/3/8 Håkan König <sou...@ha...>: > > So, the question I'm trying to ask is: Do you need any help? > > Hi there! > > Welcome to the project. We can always use more help. There's plenty > to do, both big projects and small tasks. > > For at least your first few change sets, just send patches to the > list. Unified diffs are the preferred format. > > This gives us all a chance to comment on your proposed changes, and > helps you learn what things we care about. The above paragraph is something I think a lot of people trying to get started on open source projects miss. It is easy to hide your changes until they are "ready", but it is really better for you and the project to get them seen and rejected a few times, so if/when you are done, it'll actually be something that can be accepted into the trunk. Jeff -- ---------------------------------------------------------------------------- "The man who does not read good books has no advantage over the man who cannot read them." -- Mark Twain ---------------------------------------------------------------------------- |
From: brett l. <bre...@gm...> - 2010-03-09 23:21:43
|
On Tue, Mar 9, 2010 at 3:17 PM, Erik Vos <eri...@xs...> wrote: > I have a very sketchily working version of 1825 Unit 1 but most of the > more complex pre-printed tiles are not correct since they aren't in > the tile database, the map has a massive blank spot from row A down to > row R since Unit 1 starts row numbering later in the alphabet, and the > stock rounds don't even remotely work correctly...so I haven't made a > lot of progress but I'm happy to share what little I have done! > > [EV] If you send me your XML, I can use it as test material to fix the map > display. > I think we'll need some extra parameter like firstLetter="R" or such like. > As for the missing tiles, I can create these. I do have 1825U1, but a list > of what you found missing would be helpful. > Or we can just divorce the text displayed by the map from the internal grid numbering and just maintain a mapping. ---Brett. |
From: Stefan F. <ste...@we...> - 2010-03-10 10:28:11
|
A very simple idea: Just let the map displaying class figuring out what are the min(letter) and min(numbers) are, and then start displaying from those rows/columns. I would avoid an additional (double) mapping for that reason. Stefan On Wednesday 10 March 2010 00:21:17 brett lentz wrote: > On Tue, Mar 9, 2010 at 3:17 PM, Erik Vos <eri...@xs...> wrote: > > I have a very sketchily working version of 1825 Unit 1 but most of the > > more complex pre-printed tiles are not correct since they aren't in > > the tile database, the map has a massive blank spot from row A down to > > row R since Unit 1 starts row numbering later in the alphabet, and the > > stock rounds don't even remotely work correctly...so I haven't made a > > lot of progress but I'm happy to share what little I have done! > > > > [EV] If you send me your XML, I can use it as test material to fix the > > map display. > > I think we'll need some extra parameter like firstLetter="R" or such > > like. As for the missing tiles, I can create these. I do have 1825U1, but > > a list of what you found missing would be helpful. > > Or we can just divorce the text displayed by the map from the internal > grid numbering and just maintain a mapping. > > ---Brett. > > --------------------------------------------------------------------------- >--- Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: John D. G. <jd...@di...> - 2010-03-13 19:31:02
|
On 2010-03-09 15:21, brett lentz wrote: > Or we can just divorce the text displayed by the map from the internal > grid numbering and just maintain a mapping. I like this idea because it doesn't require games which use oddball numbering/ lettering on their grids (such as 1853 which has lower case letters on X, upper case on Y) to change to some other method on the Rails screen. |
From: Phil D. <de...@gm...> - 2010-03-08 13:21:49
|
Håkan, Welcome :) I'm also fairly inexperienced with Java but I've been playing around adding in 1825 support to rails in my spare time. None of the functionality I've been putting in had been committed to the rails project on sourceforge, it's all in my local files and really is a bit of a personal learning project I was hoping one day I might get close enough to opeational to commit to the main line. I have a very sketchily working version of 1825 Unit 1 but most of the more complex pre-printed tiles are not correct since they aren't in the tile database, the map has a massive blank spot from row A down to row R since Unit 1 starts row numbering later in the alphabet, and the stock rounds don't even remotely work correctly...so I haven't made a lot of progress but I'm happy to share what little I have done! I can't speak for the administrators of the project but I'm sure any and all support is fully welcomed! Phil 2010/3/8 Håkan König <sou...@ha...>: > Hi there, > > I had a few questions about rails development in general and 1825 in > particular. Since I'm new here and the only name I recognize among the > current developers is Chris 'The Cat' Shaffer I'll start with a small > introduction before I get to my questions. > > My name is Håkan König. I like to play 18xx and boardgames in general, > something which has taken me to BoardgameGeek under the alias of hakko504. > Right now I'm working as a consultant with android development in JAVA in an > assignment about to end any day now. Unless we get a new customer, I will > get laid off before the end of the month at which point I will have a lot of > free time, and a need to improve my JAVA knowledge. As I've used the Rails > app for a while to satisfy my appetite for 18xx I thought I'd come and see > if you needed any development help here while at the same time expanding my > knowledge in JAVA. I have downloaded the current repository from the CVS and > started to look at the code and made sure it compiles in Eclipse. And then I > came up with the idea of adding 1825 support to the app since it's the 18xx > I'm mostly familiar with which isn't already supported or in development. I > started searching in the archives and the only thing I could find was a > small references to 1825, in the thread Stockmarket type where a discussion > started about a linear stockmarket with multiple jumps. In the future I may > also be interested in doing 1861 if 1825 turns out to be successful. > > So, the question I'm trying to ask is: Do you need any help? I'm beginner in > JAVA but I have by now close to 10 years of programming experience from > mostly C & C++, and during the last 6 months I've been working with JAVA on > android. > An of course, is there any interest in 1825, and has anything useful been > done there? I can't find anything in the CVS main trunk, but Phil Davies > posted here a while ago that he'd been looking at the possibility, but no > specifics. I have quite a few ides but I'm not sure how to implement all of > them. I forsee problems with supporting different combinations of > Units/regionals/Kits (changing maps, available tiles, available trains, size > of main bank etc.), as well as separate banks for players and companies. > > Anyway, That's me, and my interest in Rails. > Håkan > > BTW, my main sourceforgeid is hakko504 as well, but that is linked to a > slightly different emailaddress, without the .rails before the @ sign. Don't > be confused, as long as it says @hakko.eml.cc it's me ;) > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Erik V. <eri...@xs...> - 2010-03-09 23:17:25
|
I have a very sketchily working version of 1825 Unit 1 but most of the more complex pre-printed tiles are not correct since they aren't in the tile database, the map has a massive blank spot from row A down to row R since Unit 1 starts row numbering later in the alphabet, and the stock rounds don't even remotely work correctly...so I haven't made a lot of progress but I'm happy to share what little I have done! [EV] If you send me your XML, I can use it as test material to fix the map display. I think we'll need some extra parameter like firstLetter="R" or such like. As for the missing tiles, I can create these. I do have 1825U1, but a list of what you found missing would be helpful. [EV] Not sure what your problem with stock rounds is, but for the gradual availability of companies you could look at 1835 which has the same thing. There it's hardcoded in class rails.game.specific._1835.StockRound_1835; you could use that as an example. > An of course, is there any interest in 1825, and has anything useful been > done there? I can't find anything in the CVS main trunk, but Phil Davies > posted here a while ago that he'd been looking at the possibility, but no > specifics. I have quite a few ides but I'm not sure how to implement all of > them. I forsee problems with supporting different combinations of > Units/regionals/Kits (changing maps, available tiles, available trains, size > of main bank etc.), as well as separate banks for players and companies. [EV] I'd suggest to start with 1825U1 and get that right first. The other units and regions can then probably be added fairly easily. I think you can already get a long way with the existing Option/Variant features. Erik. |
From: Phil D. <de...@gm...> - 2010-03-10 10:57:01
Attachments:
1825.txt
|
Erik: A patch with bits I've managed so far is attached, the tiles I couldn't immediately find are marked with a placeholder comment in the map.xml, in most cases I've just used a circle city tile to represent them. I'm sure some of these already exist, I just need to locate them in the tile DB. I have 1825 at home but I've been using this image: http://www.boardgamegeek.com/image/678058/1825-unit-1 to save sitting with my box scattered over the table :p. I'll have a look at the 1835 code and play around with that for stock market. I didn't realise that used the gradual availability as well so that should be a good example. I agree with Stefan's suggestion in his later mail regarding the map display. Units 1,2 and 3 are numbered consistently. Currently when rails display U1 it just has nothing in rows A through Q, if it worked out what the minimum letter and number were and then drew from that point, that would make U1 work fine straight away. Also, in terms of adding the other units, a fairly crude way would be to just surround every map entry with an ifOption tag, and have the 3 Units as discrete options within the game setup window, with a check to ensure that at least one of them has been selected. I'm assuming ifOptions are respected in map.xml...I haven't actually checked. Phil On 9 March 2010 23:17, Erik Vos <eri...@xs...> wrote: > I have a very sketchily working version of 1825 Unit 1 but most of the > more complex pre-printed tiles are not correct since they aren't in > the tile database, the map has a massive blank spot from row A down to > row R since Unit 1 starts row numbering later in the alphabet, and the > stock rounds don't even remotely work correctly...so I haven't made a > lot of progress but I'm happy to share what little I have done! > > [EV] If you send me your XML, I can use it as test material to fix the map > display. > I think we'll need some extra parameter like firstLetter="R" or such like. > As for the missing tiles, I can create these. I do have 1825U1, but a list > of what you found missing would be helpful. > > [EV] Not sure what your problem with stock rounds is, but for the gradual > availability of companies you could look at 1835 which has the same thing. > There it's hardcoded in class rails.game.specific._1835.StockRound_1835; you > could use that as an example. > >> An of course, is there any interest in 1825, and has anything useful been >> done there? I can't find anything in the CVS main trunk, but Phil Davies >> posted here a while ago that he'd been looking at the possibility, but no >> specifics. I have quite a few ides but I'm not sure how to implement all > of >> them. I forsee problems with supporting different combinations of >> Units/regionals/Kits (changing maps, available tiles, available trains, > size >> of main bank etc.), as well as separate banks for players and companies. > > [EV] I'd suggest to start with 1825U1 and get that right first. The other > units and regions can then probably be added fairly easily. > I think you can already get a long way with the existing Option/Variant > features. > > Erik. > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Erik V. <eri...@xs...> - 2010-03-11 23:27:13
|
I have checked in corrected versions of Phil's initial 1825U1 setup, and added the missing preprinted tiles. The map is now complete and displays (about) properly. Please note, that TileDesigner creates "fixed" map tiles with a grey (or red) background; not brown. For consistency, I have changed the hex SW of Bristol accordingly. Erik. -----Original Message----- From: Phil Davies [mailto:de...@gm...] Sent: Wednesday 10 March 2010 11:57 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Stockmarket type aka 1825 dev? Erik: A patch with bits I've managed so far is attached, the tiles I couldn't immediately find are marked with a placeholder comment in the map.xml, in most cases I've just used a circle city tile to represent them. I'm sure some of these already exist, I just need to locate them in the tile DB. I have 1825 at home but I've been using this image: http://www.boardgamegeek.com/image/678058/1825-unit-1 to save sitting with my box scattered over the table :p. I'll have a look at the 1835 code and play around with that for stock market. I didn't realise that used the gradual availability as well so that should be a good example. I agree with Stefan's suggestion in his later mail regarding the map display. Units 1,2 and 3 are numbered consistently. Currently when rails display U1 it just has nothing in rows A through Q, if it worked out what the minimum letter and number were and then drew from that point, that would make U1 work fine straight away. Also, in terms of adding the other units, a fairly crude way would be to just surround every map entry with an ifOption tag, and have the 3 Units as discrete options within the game setup window, with a check to ensure that at least one of them has been selected. I'm assuming ifOptions are respected in map.xml...I haven't actually checked. Phil On 9 March 2010 23:17, Erik Vos <eri...@xs...> wrote: > I have a very sketchily working version of 1825 Unit 1 but most of the > more complex pre-printed tiles are not correct since they aren't in > the tile database, the map has a massive blank spot from row A down to > row R since Unit 1 starts row numbering later in the alphabet, and the > stock rounds don't even remotely work correctly...so I haven't made a > lot of progress but I'm happy to share what little I have done! > > [EV] If you send me your XML, I can use it as test material to fix the map > display. > I think we'll need some extra parameter like firstLetter="R" or such like. > As for the missing tiles, I can create these. I do have 1825U1, but a list > of what you found missing would be helpful. > > [EV] Not sure what your problem with stock rounds is, but for the gradual > availability of companies you could look at 1835 which has the same thing. > There it's hardcoded in class rails.game.specific._1835.StockRound_1835; you > could use that as an example. > >> An of course, is there any interest in 1825, and has anything useful been >> done there? I can't find anything in the CVS main trunk, but Phil Davies >> posted here a while ago that he'd been looking at the possibility, but no >> specifics. I have quite a few ides but I'm not sure how to implement all > of >> them. I forsee problems with supporting different combinations of >> Units/regionals/Kits (changing maps, available tiles, available trains, > size >> of main bank etc.), as well as separate banks for players and companies. > > [EV] I'd suggest to start with 1825U1 and get that right first. The other > units and regions can then probably be added fairly easily. > I think you can already get a long way with the existing Option/Variant > features. > > Erik. > > > ---------------------------------------------------------------------------- -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Aliza P. <ali...@gm...> - 2010-03-11 23:36:52
|
On Thu, Mar 11, 2010 at 3:27 PM, Erik Vos <eri...@xs...> wrote: > I have checked in corrected versions of Phil's initial 1825U1 setup, and > added the missing preprinted tiles. > The map is now complete and displays (about) properly. > > Please note, that TileDesigner creates "fixed" map tiles with a grey (or > red) background; not brown. For consistency, I have changed the hex SW of > Bristol accordingly. > > Erik. > There is at least one game out there (18io) which has fixed map tiles that are deliberately brown, not gray, so that people can lay "tragic track" leading into them (or even just have more flexibility upgrading adjacent city hexes.) I don't know whether this is enough of a outlier that Rails can afford to ignore it. - Aliza |
From: Phil D. <de...@gm...> - 2010-03-12 12:39:21
|
Erik, wow, you are like a machine getting these things fixed, thanks :) Aliza, it's not going to be a big deal having brown tiles as preprinted on a board, this is doable now. Erik just changed my original tile to grey to match the colours rails uses everywhere else and I think this makes sense since it is not an upgradeable tile on the board. Phil On 11 March 2010 23:36, Aliza Panitz <ali...@gm...> wrote: > On Thu, Mar 11, 2010 at 3:27 PM, Erik Vos <eri...@xs...> wrote: >> I have checked in corrected versions of Phil's initial 1825U1 setup, and >> added the missing preprinted tiles. >> The map is now complete and displays (about) properly. >> >> Please note, that TileDesigner creates "fixed" map tiles with a grey (or >> red) background; not brown. For consistency, I have changed the hex SW of >> Bristol accordingly. >> >> Erik. >> > > There is at least one game out there (18io) which has fixed map tiles > that are deliberately brown, not gray, so that people can lay "tragic > track" leading into them (or even just have more flexibility upgrading > adjacent city hexes.) > > I don't know whether this is enough of a outlier that Rails can afford > to ignore it. > > - Aliza > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Erik V. <eri...@xs...> - 2010-03-12 19:58:40
|
Aliza, it's not going to be a big deal having brown tiles as preprinted on a board, this is doable now. Erik just changed my original tile to grey to match the colours rails uses everywhere else and I think this makes sense since it is not an upgradeable tile on the board. [EV] ... and also to enforce the rule that no loose track may end against a blind brown hex side. > There is at least one game out there (18io) which has fixed map tiles > that are deliberately brown, not gray, so that people can lay "tragic > track" leading into them (or even just have more flexibility upgrading > adjacent city hexes.) [EV] I such a case we can of course define brown tiles. The colour derives from the tile class, not vice versa. Erik. |
From: Stefan F. <ste...@we...> - 2010-03-08 20:28:30
|
Hi Håkan, as someone who started working on Rails pretty recently (after a long time of passive observer), I can fully understand your choice to join the Rails development. I think one cannot underestimate the work done especially by Erik (but also all the others involved9 to get the project to a state where it is now: One can play real 18xx with Rails without running into problems every minute. As Erik got me into the loop, I feel myself urged to provide you any assistance you need to start contributing: Thus if you have any question with respect to the code, you can ask me (in addition to the others) anytime. I like 1825 and would love to see Rails support for it. But even if the rules of 1825 are not complicated, there is a substantial list of changes you have to consider, thus it is not the easiest task to start with. My route to 1889 was to start with the XML files in data, then create the missing tiles and finally add code support for the missing rule details. Some of the discussion with Erik on specific topics (especially regarding implementations details) was done off the devel list: As it took me some time to familiarize myself with the structure and design of Rails, I could try to summarize some basic ideas. So if you (or others) are interested on a short overview of the code structure, I am willing to write something down after the release of 1.1.4. And in any case: good luck on the job market. Stefan On Monday 08 March 2010 13:17:07 Håkan König wrote: > Hi there, > > I had a few questions about rails development in general and 1825 in > particular. Since I'm new here and the only name I recognize among the > current developers is Chris 'The Cat' Shaffer I'll start with a small > introduction before I get to my questions. > > My name is Håkan König. I like to play 18xx and boardgames in general, > something which has taken me to BoardgameGeek under the alias of > hakko504. Right now I'm working as a consultant with android development > in JAVA in an assignment about to end any day now. Unless we get a new > customer, I will get laid off before the end of the month at which point > I will have a lot of free time, and a need to improve my JAVA knowledge. > As I've used the Rails app for a while to satisfy my appetite for 18xx I > thought I'd come and see if you needed any development help here while > at the same time expanding my knowledge in JAVA. I have downloaded the > current repository from the CVS and started to look at the code and made > sure it compiles in Eclipse. And then I came up with the idea of adding > 1825 support to the app since it's the 18xx I'm mostly familiar with > which isn't already supported or in development. I started searching in > the archives and the only thing I could find was a small references to > 1825, in the thread Stockmarket type where a discussion started about a > linear stockmarket with multiple jumps. In the future I may also be > interested in doing 1861 if 1825 turns out to be successful. > > So, the question I'm trying to ask is: Do you need any help? I'm > beginner in JAVA but I have by now close to 10 years of programming > experience from mostly C & C++, and during the last 6 months I've been > working with JAVA on android. > An of course, is there any interest in 1825, and has anything useful > been done there? I can't find anything in the CVS main trunk, but Phil > Davies posted here a while ago that he'd been looking at the > possibility, but no specifics. I have quite a few ides but I'm not sure > how to implement all of them. I forsee problems with supporting > different combinations of Units/regionals/Kits (changing maps, available > tiles, available trains, size of main bank etc.), as well as separate > banks for players and companies. > > Anyway, That's me, and my interest in Rails. > Håkan > > BTW, my main sourceforgeid is hakko504 as well, but that is linked to a > slightly different emailaddress, without the .rails before the @ sign. > Don't be confused, as long as it says @hakko.eml.cc it's me ;) |