Periodically maintenance
Congklak is a game with two players and have 16 holes for placed beads. Where two holes (large holes) in the left and right side as storage, and others (small holes) as farms.
In this game, player must as computer opponent (our algorithm). And the gameplay, for player is just choose where farm hole in player side to be taken and spread the bead in it to other farm, including the opponent farm holes.
The player may harvest all the beads in the opposite farm hole, if there is the last bead that spreaded, falls alone by his own side. And then, the game end where all farm holes is empty, and player or computer who have more beads at his storage, he is the winner.