23rd April 2007, 03:05 pm
You can tell I have got back into programming again as the frequency of my blog entries has dropped to one very other week and the information contained in them is limited to what I am working on rather than what I am learning!
The Mist refactoring is underway. There are 3 major phases to it (at the moment). Continue reading ‘Mist - The refactoring plan and progress’ »
13th April 2007, 12:50 pm
So I have decided to write a little version of reversi (Othello) to go on MarbleMist as a second shareware game. A deliberately a simple game was chosen as for the next few games I want to keep the game making process quite short.
Continue reading ‘Reversi’ »
6th April 2007, 10:29 pm
It is a funny thing, abstraction, I have instinctively understood it but never really tried to give a good example as to what it actually is, with regard to producing code. Generally I have approached abstraction via the lazy programmer route, if something lets you fill in the blanks and fits any other criteria then use it and get onto other interesting stuff, if not roll you own.
My examples of a simple calculator provide a good comparison. The first attempt was deliberately ”retro style” C++, look here and you will see lots of control structures while in the later example, here, you see much less in the way of control structures meaning the more important actions can be seen more clearly.
5th April 2007, 02:27 pm
If you have not read my posts about the first two version of the code you can read about version one here and version two here. Basically the idea has been to use a simple calculator program to demonstrate the boost::graph library. In the latest version and probably the last I replace our hand rolled parser/lexer with one created using the Spirit framework for parser generation.
Continue reading ‘Boost::Graph - Simple Calculate Version 3 (Spirit)’ »