Programming

Solitaire & Board games

During my many years of working professionally with Chess game development, I have had several smaller side projects. Lately, I have had the chance to work professionally to develop recreational games like Sudoku and Solitaire. It’s been quite exciting as some of the mathematical challenges in these games are well-founded and more challenging to solve than …

Solitaire & Board games Read More »

Mayothi Timer

Moyothi timer is a precision timer for C++ programs to measure events in microseconds. It also has a wait function, which differs from the normal sleep() function in that your program can still process messages while waiting. The timer function is very simple and uses the QueryPerformanceCounter() and QueryPerformanceFrequency() functions to return the time measured …

Mayothi Timer Read More »

SerialWizz

I’ve never really liked Hyper Terminal (the communications program bundled with windows) when it comes to serial communications. Thus I decided to write something specifically for programmers / engineers to make serial communications easy. What I like about serialWizz: No need to create a new connection every time you open the program All the settings …

SerialWizz Read More »

How Knoughty works

Background :Knoughty was written as a simple demonstration of the alpha-beta search algorithm. Because noughts and crosses is a simple game, a perfect alpha-beta search is possible and can also be done very quickly (on my Palm Zire 72, it only takes a fraction of a second to make each move.) I have written the program …

How Knoughty works Read More »

Boolean Algebra

Number systems We humans (and selected Alien species) use the decimal number system. What this means is that all the numbers we write down consists of the 10 digits 0 to 9. In other words when we count and get to 9, we start again with 0. Of course to show the difference between zero …

Boolean Algebra Read More »