06-10-2023, 05:52 PM
(06-10-2023, 12:28 PM)a740g Wrote: Here is Terry's Four-in-a-row game with a Minimax solver. I found this on an obscure website (I do not remember what it was now) and put it on GitHub for archiving.I wrote that with very limited time for a QB64 competition and didn't have time to complete the minmax portion of the game. You're correct, it's flawed and very weak. I never should have submitted it in the condition it was in. Now that you dug it back up I'll need to go through it and see if I can correct the flaws.
QB64-Museum/FourinaRow at main · a740g/QB64-Museum · GitHub
I cleaned up the source just a bit to make it QB64-PE compatible and get the MIDI working.
The solver is kinda weak or is severely depth limited because I could beat it like 90% of the time. I'll look at it someday. Still, it is a work of art and a great resource to learn from.
@TerryRitchie you should probably look at it and maybe put it on www.qb64tutorial.com/games?