Jarrah Technology logo

October 3, 2022

Category: Posts

Author: Charles

Need For Speed - Progress Report Twitter Facebook Share on Google+

If you looked at SHD a month ago and again today, you would probably notice no difference at all. However, behind the scenes a great deal has changed. Over the last month my main task has been improving the AI. It soon became clear a major issue was speed. Examining a set of moves took several milliseconds (ms), and there were often thousands of possible moves, sometimes tens of thousands - it was taking too long. In speeding up the analysis, errors began creeping into the system caused by timing and threading issues. Hmmm. I decided to change the way the engine worked so that these errors could not occur and managed to get this largely complete in a week. The result was that average analysis time for a single set of moves went from 5ms to 0.19ms, error free. Proud of that work. It should be fast enough to let the AI to look more than one move ahead - which is the next task.

I also got a little distracted by possible future projects. Now have another good idea for the next project. Hard decisions will need to be made soon around what to do next.

SHD tasks for November are the same as before, just the AI is now very close to complete.

Last month’s completed tasks:

  • Moved SHD engine from a Plan/Action pattern to a Command/Effect pattern
  • AI working well, just speeding up code so that can process more scenarios in reasonable time (5ms to 0.19ms so far)
  • Played with setups & org for next project
  • Bugfixes

Over the next month:

  • Full AI
  • Little improvements & bugfixes
  • Next version of prototypes
  • Online component
  • Try not to get distracted