Tag Archives: Games

Cross-Platform Games

Games on mobile platforms like iPhone and Android are getting better by the day, and with each new hardware release the limit on graphics capabilities is being pushed further. One of the top PC game engines, Unreal Engine, can now run on mobile devices; it was used to create the visually stunning Infinity Blade released at the end of last year. I gave Infinity Blade a spin the other day and it got me thinking about whether or not it would be feasible to for Windows, Mac and mobile gamers to play the same game in the same game world. In essence, an MMO that can be accessed not only from a desktop computer but from an iPhone, Droid or BB. For the rest of this article I’m going to refer to that concept as a “cross-platform” game, assuming that one platform consists of all desktop/laptop OSs and the other consists of mobile platforms.

I have no doubts as far as technology goes. The hard part of the situation is designing the game itself. You can’t just port WoW or EVE to iPhone and call it a day, nor can you write a Windows version of Shadow Cities or Infinity Blade. Each platform has its own benefits and drawbacks as far as the user experience goes, and a game that mixes users from different platforms has accommodate them. Consequently, I’ve broken the problem down in 3 main areas of interest.

1. Menus/UI

This is not an insurmountable problem, but it is definitely one of the larger issues to deal with in the development of a cross-platform  game. Traditional MMOs on PC platforms typically have plenty of menus, such as character sheets, inventories and chat and often many of these are displayed at one time. On a mobile display with <10 square inches of screen space, this isn’t entirely practical.

I think the ideal system would be somewhat like an TES:Oblivion-style interface, where the majority of the screen defaults to displaying the game world unless a menu is opened. On the PC/Mac platform menus would be access with typical keyboard shortcuts, while on the phone they would “slide out” from the sides of the screen. Menus would of course have to be designed to be extremely concise, with the understanding that an iPhone user will most likely be interacting with a menu or the game world, but not both at the same time.

2. Client-World Interaction

In a classic FPS game the player changes the view with his/her mouse, moves with WASD, runs with Shift and interacts with objects with E. Unfortunately this sort of experience cannot be efficiently emulated on a mobile platform. It’s been tried through a variety of methods, such as rendering a small joysticks on the screen, but the results are typically difficult to use. The bottom line is that FPS controls will not work on mobile devices.

Because of this, I think the best route to go is by implementing a point-and-click move and interaction system. Touching a location in the game world would initiate a path finding process that takes the user to the closest possible point, while touching an intractable object would open a small context menu with relevant actions for that object. This can work with a mouse or with a touch screen device, and wouldn’t give either platform an advantage over the other.

3.  Game Content

Given that the iPhone has significantly fewer resources and graphical capabilities when compared with a high-end desktop machine, some downsizing of textures/models and removal of effects has to take place. The smaller screens on mobile devices mean that less polygons are needed, which is helpful, but at the end of the day the mobile version of cross-platform game will properly end up looking less detailed than its desktop equivalent. There are plenty of ways to combat this though, such as decreasing view distance in exchange for an increase in nearby polygon counts, so I don’t think it’s as big of a concern.

In conclusion, I should mention I have no intention to develop such a game at this time. It’s certainly something I’d like to do though eventually, so I plan to continue fleshing out my ideas. I’ll continue to post some of them here as well as I go. That’s all for now though!



Monopoly Math Theory

Like I said in the last post, I spent some time working on the actual probabilities for each square in Monopoly. First thing first: Chance/Chest cards suck.

About half of the Chance/Chest cards can be classified as “move cards”, as they instruct the player to move to a square. Lets say you draw the “Go to jail” card from Chance and move to jail. That card now goes to the bottom of the stack, so the probability of anyone getting that card is now 0 for the next 16 Chance draws(there are 17 Chance cards), and 1 on the 17th draw. Therefore the probability of the squares is affected by the initial order of the C/C cards, since its common for not all the cards to be drawn during shorter games.

The number of players also affects things; obviously more players will go through the C/C cards faster, but it also complicates the “get out of jail” cards. I never pay the $50 to leave jail, therefore I either need a “get of jail” card or a doubles roll. If two other players already have the freedom cards, that means when I leave the jail it’ll be on a doubles roll. This means that I can’t land on squares 3,5,7,9, or 11 on a jail exit move. Though the effects are probably negligible in the grand scheme of things, they’re definitely present.

The only other factor, aside from standard two-dice probabilities, is that rolling three doubles in a row immediately moves the player to jail.

With all these factors considered, solving things gets pretty complex. Example: You’re on Water Works, and roll double 4s. You’re now on Chance. This Chance turns out to be a “Go Back 3 Spaces” card, putting you on Community Chest. The Community Chest card is an “Advance to Go” card. Since you had double 4s, you get to roll again; doing so gives you get double 1s, putting you on Community Chest. Go To Jail! At the end of it, you’ve visited four different squares on a single turn. On the other hand the same outcome could have occurred if double 1s were rolled from Water Works, as this would have put the player on the “Go To Jail” square.

Such complex move sequences are very rare, but are certainly possible. Therefore instead of trying to come up with an equation, I decided to calculate the potential pathways to each square and the probability of said pathways. I also took some liberties with C/C cards and simply treated them as a random draw. I’ve attached the final Excel sheet as usual:monopoly_final_paths

And, a screenshot of the final ordering and game board composition:

There are definitely some differences between the theory and the experimental results, but the general trends are fairly similar. Railways and orange still appear as the most popular properties. There’s a lot more “smoothness” in the theory though, especially in the middle range properties. The one last thing to do with this data would be to factor in costs of buying and rent, to see which are the best price wise. I’m sick of this game and data though, so maybe another day. 🙂


Monopoly Math

So it was family game night tonight, and we decided to play Monopoly. Because the game can take a while, we generally set a time limit, something between 1.5 to 3 hours depending on how late we start the game. My strategy for playing is pretty straight forward: collect as many railways and utilities as possible, and go for orange, yellow, and dark blue property groups. It tends to work pretty well for me, so I decided to do some data recording this game. I tallied up every squared landed on in Excel, including Chance/Chest cards like “Go directly to jail”, “Advance to boardwalk”, “Go to go”, and so on. We don’t play with any custom rules that affect moving, so the data reflects standard Monopoly procedures.

Unfortunately the game only lasted around 1 hour 20 minutes (I had a lucky start & early win), so the dataset isn’t very big. I wasn’t about to ask for a rematch though and we probably won’t play Monopoly again for a week or two, so I decided to work with what I had. Here’s the full organized data and analysis; click for full-size of course:

Haha, go Orange and Railways! I knew I was backing the right horse. 🙂 I think the reasoning behind the high frequency of orange landings has to do with the fact that it’s outside of the jail. Some of the most probable rolls on two dice (6,8,9) will land you on orange. There are also Chance/Chest cards that take the player to the pink squares right before orange, and the railway right before orange. Railways/corners are obviously going to be popular because of the aforementioned cards, and because they’re well spread around the board. Same goes for Chance/Chest, which combined make up 6/40 or 15% of the game board. Also, I find it funny that Tax squares received the least hits.

There’s a lot more I could do with this as far as comparison to theory goes, but the problem is calculating theoretical probabilities for each square. Since there are a lot of different routes to get to squares, with the possibility of going to jail, getting a Chance/Chest card that moves the player, etc things get complicated. I do intend to sit down and work through the math later tonight/tomorrow, so I’ll post again with an update at that point. And, as always, if anyone wants the data to play with: Monopoly.xlsx. The first Sheet is the raw data, and the second is the analysis page shown above.


%d bloggers like this: