If you want to make this game, it's quite simple to play against the computer... You could say for example, that the computer asks to draw a new card until he has 16...
But if you want to make "connect 4" for example... How would you do that? You could make a program so that the computer just stops you from connecting 4 coins. But if you want to make it good, you would have to make the computer 'think ahead', so that the computer connects 4 coins. Does anyone here knows how to calculate the best next step?
Actually I'm more interessed in calculating the best next step for the computer in the game Colony. Download here (this is legal)
I'm trying to make that game, but the hardest (and most needed) thing to program, is to calculate the best next step...
There's probably a lot of mathematics involved, but that's ok, I'll try to understand
