This web site exists to document my adventures in writing software emulators for old computer hardware. So far, I have completed (sort of) a Commodore PET emulation and am working on a Sinclair Spectrum emulation.
It took some time, but I have finished the Minimax player. I’ve tested it and it seems to be unbeatable, as you would hope. The main reason it took so long is because it is pretty slow, at least in the original naive version. The code for the version I am discussing is tagged blog-928. … Continue reading Noughts and Crosses part 2 – the Minimax Player
Hannah Fry was the presenter of this year’s Royal Institution Christmas Lectures. There were some beautiful demonstrations (in my opinion) on several mathematical subjects that have relevance in the real world. The demonstration of how vaccination is effective using the zombie apocalypse was very thought provoking as was the Christmas present detection machine, which was … Continue reading Noughts and Crosses
This is just a reminder from me to me. I constantly find myself searching through my previous projects trying to remember how to do this. Putting it in my blog might make it easier to find it in future. Quite often, when writing test cases, I want to access resources that are not Swift code. … Continue reading Accessing Resources from Test Cases in Swift
Prologue When I was much younger I used to read Scientific American. In those days, it had a regular column by AK Dewdney called “Computer Recreations”. Eventually, several of his columns were compiled into a book called “The Armchair Universe” of which I had a copy, but I suspect my parents donated it to the … Continue reading Sharks and Fish(es)