06-10-2023, 12:28 PM
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.
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?
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?