inaka/rpsls — pull request #13 by cabol (2014-12-13 23:25:44+00:00)
Title: C.A.B.R.A Player.

Carlos Andres Bolaños R.A.
C.A.B.R.A Player
This player detects predictable patterns such as: alternating pattern, repeating pattern (like bart, spock) and copycat pattern. In other cases the logic applied is: if the opponent wins, then pick the thing that beats what the opponent just played. If my player wins, then pick the thing that beats the possible things which can beat the thing that my player just played.
The main idea is obtaining a significant advantage over those predictable pattern, and to unpredictable patterns like random and others, try to be as much balanced as possible.