A comforting thought
“My insights into Fairy Tale strategy are markedly better than random play.” OK, it’s not that comforting.
Based on feedback, I’m skipping the Neural Network and just going with a correlation matrix (which will eventually evolved). I’ve hardcoded my default correlation matrix (80 x 40) and initial weighting of cards (1 x 40). [Player #1 is the non-random one].
INFO 9859 - GameState - Player #1 won 82 games. INFO 9859 - GameState - Player #2 won 9 games. INFO 9859 - GameState - Player #3 won 5 games. INFO 9859 - GameState - Player #4 won 8 games. INFO 9859 - GameState - Player #5 won 3 games.
Right now I’m just using a “Play the card you like best each round”, but perhaps I should look at the breakpoints … if I know I won’t be playing two of the cards at all, perhaps theirs a way to let it evolve ways of ordering the rest of the card play.
Now I just have to program a mutator, a serializor and a reaper. Then it’s off to the evolutionary races! (Eventually I’ll need to write a GUI so I can play against it, assuming it gets good enough …)
I’ll write some more bridge in a few days. And some actual game stuff later…