Code / 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