Thursday, August 18, 2005

Update

Little note of progress on my checker board design...

I've gone from an 8*7 array to 8*4. Way to optimise eh? Go me. Optimisation of how you use memory isn't exactly important at this point in my programming life, but I'd rather begin taking notice of things like this right now as opposed to down the track when I have to develop really high end applications.

Technically, the Big-O efficiency for the algorithm would be the same as using a larger array with space not used. Each algorithm is awkward either way; I have to check all the pieces on the board, and test to see if they can make a destroy move, then force those moves, else... Uhm... I'm not gona plan this right this minute.

I actually just noticed something I have to change in my custom data type...

Never before has checkers been so complicated x_x...

Note :: I will figure out how to get things like mouse clicks as input before I attempt to build a game. No point having a non-working engine eh? Dam right there's no point! PUNK!

I'm out.

No comments: