An update management handy class

Today I would like to share with you a little piece of code that I find very handy. A class that helps you managing “updates”. I use it in my apps that work with cached data. You could encounter the situation where you need to develop an app that queries a web service to obtain the data to be shown on the device.

However, sometimes the information you need to access doesn’t change so often and it is not necessary to bother the user with a loading message only to end up showing the same information than 2 minutes before. If being up to date accurately is not critical for your app, the code I’m going to show may help you.


Continue reading

Game Theory Applied: Endogenous Value

Today’s article is the third one in the series “Game Theory Applied”. You have the previous two here:

In the previous two articles I talked about game design aspects that I think that were well addressed in New Sokoban. However, today I’m going to talk about a very difficult and tricky topic that should be better applied to New Sokoban: endogenous value in games.

Endogenous Value

Continue reading