Five Hundred / May 21, 2024

Five Hundred – Launching this week!

Five Hundred – Steam Release It’s been a few hundred hours of work, a whole lot of testing, a huge amount of reading of the Steamworks API – but Five Hundred – Steam Edition – is coming this week! Screenshots New Features As previously discussed, the Steam Edition includes a very large amount of new

Read More
Five Hundred / February 11, 2024

Five Hundred is coming to Steam!

Believe it or not, I’ve been quietly working away on my Five Hundred game – and I’m now happy to announce, it’s coming to Steam! If you have a Steam account, you can wishlist it now to be notified when it goes live! https://store.steampowered.com/app/2824200/Five_Hundred/ At this point, long time players will likely be thinking “Steam?

Read More
Five Hundred / January 17, 2019

Help me! Five Hundred AI

Since releasing the Paradice Five Hundred game all those years ago, one of the most consistent pieces of feedback I receive is that the AI partners and opponents don’t play optimally. This.. is very likely true. I’m limited in that I can only design a computer player that plays as well as I know how

Read More
Code / January 16, 2019

Obtaining the user’s Windows 10 Accent colour in FreePascal

I’m currently designing a minimalistic user interface in FPC (Freepascal), and I wanted it to blend in with the existing Windows desktop. So naturally, I started looking for how to obtain the user’s chosen accent color (I’m deliberately alternating American and British spelling of colour/color to help anyone that needs this to be able to

Read More
Five Hundred / January 25, 2015

Paradice Five Hundred – Version 1.20 released!

It’s finally ready! There was some scope changes involved in this version, which is why it’s taken much longer than expected, but here it is! Key new features in this version: Achievements! Over 20 specific in-game achievements to unlock Assisted check for new versions/update process Support for fullscreen (and windowed fullscreen) display modes Three different

Read More
Five Hundred / December 29, 2014

New version of Five Hundred… almost!

Well it’s been a year between major updates (I seem to get the most time to work on this over Christmas/new years), but a new version of the Five Hundred is almost ready and will be released in the next few days. I have been busy and have added quite a few new features, though!

Read More
Code / February 26, 2014

Boolean Function Parameters

Consider the following code, which might be part of a custom Font class to draw fancy text. Looks good, right? Parameters are clear, order makes sense, and it’s easy to understand what the code does when you find it invoked: No need to go searching for the function implementation, or hovering over using the IDE

Read More
Code / February 22, 2014

Puzzle: FPC’s TEventObject, in Windows

This post is kind of an open question. I’m hoping that I can get some comments, any comments, on it 🙂 Let’s set up a situation with a problem, and look at different solutions for addressing the problem. Which one do you think is best, and more importantly, why? The Setup There is a multithreaded

Read More
Code / February 16, 2014

Don’t use Suspend and Resume, but don’t poll either.

So, using thread Suspend and Resume functionality is deprecated in Delphi, Freepascal, and even Windows MSDN itself warns against using it for synchronization. There are good reasons for trying to kill this paradigm: suspending and resuming other threads from the one you’re currently on is a deadlock waiting to happen, and it’s typically not supported at all

Read More