Clever AI: Rock Paper Scissors
This app differs from other rock-paper-scissors games in that it has an adaptive AI. In most of the games there is no AI, but a random chance of 1/3 whether scissors, stone or paper will be used.
In this app, the AI has a function pool of evaluating statistics on which the AI can fall back. The calculations are only based on past inputs from the player and the AI. The AI does not look at the current selection of the player at any time.
Furthermore, the AI independently decides which function it takes for its opponent and how much the selected function is weighted in comparison to the others.
As a result, the AI adapts to the player steadily and thus improves with every further move to counter the player.
2016-09-02 |
|