We made a game like this (a physical version) however it doesn’t seem to be a real fun “game”. We like playing it where each person puts on three at a time. Like you grab three, then you say go, and both people place 3. Taking turns 1 vs 1 gets kind of boring in my opinion, too much like tic-tac-toe.
I made a game simulator in python with a tcl/tk GUI. My AI can be set to 3 levels: offense, medium, defense.
I calculate the best possible move for the level (o. always places ringer, m. does all, and d. places/removes spoilers if it is worth it)
So if you play the game with a computer, you get nice results. But if you play CPU vs. CPU, and they are not both offense, they always end up with a 5-or-so chain and one CPU places a spoiler, the other removes, CPU places it… I still have to fix that
Sorry, I took for granted people could not peer into the brilliance which is my mind to receive game instructions. Basically, the notation is like chess “<letter><number>”, (the freezing is due to the way scanf() works, and I am too lazy to write good error checking) to place spoilers merely select an already claimed space and to remove a spoiler select a place a spoiler has been placed. To my knowledge playing as blue under difficulties 0 or -1 is unbeatable. Also, the capital letters are keepers.
This has been fun to play with, really quite a challenge on the harder levels.
On a side note, when playing as red against -1 difficulty the opponent spends forever thinking after move7 and I gave up after waiting 5 minutes. Is this a glitch in the game, or is it really supposed to think for like 10 minutes?
And I keep getting sooooo close to beating 0 and -1 as blue. Curse spoilers!