891 reputation
215
bio website
location
age
visits member for 2 years, 3 months
seen Sep 28 '12 at 12:14

Oct
13
awarded  Revival
Aug
14
awarded  Yearling
Aug
14
awarded  Yearling
Jun
21
awarded  Revival
Dec
15
awarded  Revival
Oct
19
awarded  Nice Answer
Sep
8
answered Smarty templating system really needed?
Sep
6
comment PHP city-sim castle layout
Yes -- as long as all non-bought, non-castle tiles are fully defined by there not being a record for that tile in the database. If you want to differentiate between different kinds of non-castle terrain, you would have to add a row for each tile, no matter if it's part of a castle or not.
Sep
1
comment Do game-theoretic considerations stand in the way of this market-based game-mechanic achieving its goals?
Good point about the predictability of the system correction mechanism. As an alternative, I could just save the accumulated manipulations and add it to the current real world price. The only problem then is that there is no mechanism that makes pushing up prices increasingly difficult. On the other hand, if prices get really high, market manipulations will at least yield less and less relative profits (+5 per share that cost 100 is worse then +5 per share that cost 10). With regard to your second point: you generally don't know which player bought which shares. Does that make a difference?
Sep
1
comment Do game-theoretic considerations stand in the way of this market-based game-mechanic achieving its goals?
I don't think that the in-game market will mimic the real market. There are incentives to manipulate prices, so players will do that, and they will do it up to the point when further manipulation becomes too costly. The question just is: if we assume that all players are rational in game theory's sense of the word, will their individually dominant strategies lead to collective price manipulations that benefit everyone (bad), or will players try to manipulate the market in different directions and therefore oppose each other (good)?
Aug
31
comment PHP city-sim castle layout
In the first approach, if you don't have a record for a given spot, then it does not matter if it's an inner or outer tile; in either case the tile is not occupied by anything. 324 rows per castle is no problem at all. Even if you have 1 million castles. Relational databases are really good at this stuff. Just build your indexes right and you should not experience any performance issues. Also, keep in mind that a castle only needs all these records if it extends over all available tiles. If you want to save rows (for whatever reasons), why not save a string with 324 characters?
Aug
31
comment Do game-theoretic considerations stand in the way of this market-based game-mechanic achieving its goals?
What about adding a market for put and call options? Then the two participating parties would have opposing interests with regard to the development of a share's price.
Aug
31
awarded  Student
Aug
31
asked Do game-theoretic considerations stand in the way of this market-based game-mechanic achieving its goals?
Aug
31
answered PHP city-sim castle layout
Aug
30
comment PHP city-sim castle layout
OK, some more questions, then I think I'll be able to answer: What exactly happens to the outer and inner layer if you buy one of the empty tiles on the outer layer? (A picture would be great.) Do you then have 10 castle tiles and 71 free tiles on the outer layer (3x3 + 1 adjacent castle tiles) and 40 castle tiles on the inner layer? (6x6 + 2x2 adjacent castle tiles)? Are there also empty tiles on the inner layer, or does the inner layer only consist of castle tiles?
Aug
30
comment PHP city-sim castle layout
I'm not sure if I understand this tile expansion. Does your original 9x9 grid actually consist of more tiles and just looks like 9x9 if shown with a particular level of detail? In that case, clicking on a tile would zoom in to see more details. Or do you have a 9x9 grid, with some tiles leading to other grids once you enter them. So, for example, only some of the 81 tiles in the 9x9 grid could lead to new and independent 4x4 grids once you enter them (or indeed to differently sized grids, depending on what is built on a given tile). Which of these alternatives do you use?
Aug
30
awarded  Organizer
Aug
30
revised Web-based interactive fiction engine?
edited tags
Aug
30
revised Web-based interactive fiction engine?
Added more info