Archive for the ‘games’ Category

April 8th, 2008

Some time ago now I stumbled across a freeware game for windows called Crayon Physics and instantly fell in love with it. The premise of the game is very simple – there is a ball on one side of the screen and a star on the other side. Your task is to get the ball to the star. That’s it! It doesn’t sound much fun does it, but trust me – this is essentially electronic crack – it’s that addictive.

What makes the game so compelling is the method by which you play it. Essentially you draw things on the screen and, the very instant you finish drawing them, they become real – they will instantly start interacting with the rest of the scene according to the rules of physics. For example, if you draw a box in the middle of the screen then it will start falling under gravity until it hits the ground. If that box smacks against your ball then it will impart some of its momentum to the ball and start it moving. You can create see-saws, dominoes, ramps or whatever else you can dream up. Anything you can imagine – just draw it on the screen and watch it come alive..well…almost.

The version of crayon physics linked to above (and again here) is essentially just a technical demo – written in only a week by its author Petri Purho. The practical upshot of this is that the only objects you can create in this freeware version of crayon physics are boxes and blobs. You might think that this technical limitation would ruin what sounds like a wonderful idea but, to be honest, it doesn’t. The game is still fantastic fun and everyone in my office was instantly hooked on the game, its beautiful soundtrack (which is available for download in mp3 format here) and the lovely, childlike crayon drawings.

Petri is currently working on a much more advanced version of the game which is called Crayon Physics Deluxe. This souped up version of crayon physics promises to deliver exactly what we want – full freedom to draw pretty much anything you like on screen and watch it come to life. To get an idea of how wonderful this will be check out this youtube video of Petri playing an early beta of the deluxe version on a tablet PC. Note that this is NOT the free version linked to above – this is a work in progress version of a much more polished game.

For many people, Crayon Physics Deluxe is one of the most anticipated games this year and to top it off it won this years Independent Games Festival. It looks like its going to be a commercial offering – and I can’t say I blame the author if thats the way it goes. He has put a lot of effort into it and deserves to be rewarded for his work. Personally, I will buy it the very instant it is made available for sale and then book two days off work so I can spend time enjoying it without interruption. If you want to read more about the game then check out the links here, here and here.

Some people can’t wait, however, some people want more of this kind of thing and they want it yesterday. So what else is out there?

Extra Levels for the Freeware version of Crayon Physics

While waiting for the release of Crayon Physics Deluxe, you can get more mileage out of Petri’s freeware version by installing extra levels. A whole community has sprung up around creating levels for the game and many, many different ones can be downloaded from this unofficial game blog. There is an amazing amount of variety on offer – some of the new levels use the same graphical style as the original while others make it look like a completely different game. Check out this pack, for example, which uses graphics from retro games such as pacman and donkey-kong.

Pocket Physics for the Nintendo DS

Some of my friends refer to me as Betamax man because I seem to have a knack for choosing exactly the wrong platform. For example, I bought a Palm OS based PDA just before Windows Mobile blew it out of the water in just about every area. I also have a Playstation Portable which is a great piece of kit but all of the really cool stuff seems to be coming out on the Nintendo DS.

Pocket Physics is an example of the kind of thing I mean. By looking at the screenshots below you can see that it got its inspiration from Crayon Physics but, as the author says, its not really a game as you are not required to actually achieve anything. Instead, it is a construction kit where you can draw your own little world and just have fun with it. Yet another excuse for me to part with my hard-earned and get a NDS.

Pocket Gravity for Windows Mobile

One piece of hardware I do actually own is a Windows Mobile based mobile phone and just this morning I discovered a wonderful free application for it called Pocket Gravity. The concept is very similar to Pocket Physics – there is no game element to it – you just draw things on screen and play around with them. Just like all the other offerings here – as soon as you finish drawing your objects they become part of the virtual world – subject to the laws of physics as you would expect.

Although not as graphically polished as Crayon physics or Pocket Physics this is a great little application to play around with and it will be keeping me occupied on the commute to work for the next few days.

iPhysics for the iPhone

I don’t have an iPhone and I don’t intend on getting one soon (am Betamax man – remember?) but if you do have one then you might want to try out iPhysics which is the same sort of thing as Pocket Physics and Pocket Gravity. If you have tried this application out then please let me know what you think of it in the comments.


If you still haven’t had enough then there is even more out there to help satisfy your physics-based cravings. I will briefly mention them here for the sake of completeness but will talk about them more in future posts. You’ve got phun, box2d, and BulletPhysics. Enjoy!

February 14th, 2008

I imagine that most of the people reading this will know what the Tangram puzzle is but just in case you are not one of them here is a quick excerpt from the Wikipedia page which says it all:

“Tangram (Chinese: 七巧板; pinyin: qī qiǎo bǎn; literally “seven boards of skill”) is a dissection puzzle. It consists of seven pieces, called tans, which fit together to form a shape of some sort. The objective is to form a specific shape with seven pieces. The shape has to contain all the pieces, which may not overlap. ”

The classical Tangram puzzle looks like this:


It is possible to make many shapes from these pieces; some of which are below (taken from

Tangram shapes

If you would like to have a go at making your own Tangram shapes then you can make your own Tangram set out of paper, buy a nice wooden one, try this java applet or use this Mathematica demonstration (written by Enrique Zeleny) using the free Mathplayer from Wolfram Research. There is even a Tangram game for the Nintendo DS!

In the week leading up to Valentine’s day I wondered if there is a standard variation of the classical Tangram puzzle that is constructed from a heart shape and I was delighted to discover that there is. Using Enrique’s Mathematica code as a starting point I wrote a demonstration called Broken Heart Tangram and it was published on the Wolfram Demonstrations site today.

heart tangram

I hope you have fun with this demonstration and would love to see some of the shapes that you come up with. As always, comments are welcomed.

Other articles you may like

February 5th, 2008

Every now and then I like to play a video game or two and one I discovered recently is Secret Mayro Chronicles, an open source (ie free) game based on Nintendo’s classic Super Mario World. It has received some very positive reviews so I thought I would give it a try. A quick look through synaptic showed me that the game is included in the standard Ubuntu Linux (windows version repositories under the packages ‘smc’ and ‘smc-data’ so I installed them and went to play.

The first thing I noticed was that the game was not included in Gnome’s ‘games’ menu which is not uncommon in the world of Linux games. No problem – just open a terminal and run the command


and you will be up and running…normally. Unfortunately it seems that the supporting libraries for the game were not packaged correctly so when you try and run the game you will get the following error

CEGUI::Exception: DynamicModule::DynamicModule – Failed to load module: ‘’ cannot open shared object file: No such file or directory
CEGUI Exception occurred : DynamicModule::DynamicModule – Failed to load module ‘’: cannot open shared obj

which looks a little scary. This can be fixed by running the following commands in a terminal just once.

cd /usr/lib
sudo ln -s
sudo ln -s
sudo ln -s

All this does is set up a few symbolic links so that the game can find the files it needs. The game still won’t appear in the menu but it will run just fine from the terminal.

The version in the standard Ubuntu repositories is a little out of date but I have been playing it for the last half an hour or so and its great fun. You could go over to the games official website to get the latest version if you wish but I am happy to wait for it to be upgraded in the repositories.

If you have any children then I imagine that they would love this game and you really can’t beat it at the price. There is a windows version available too from the official site but I haven’t tried it so have no idea how it compares to the Linux version.