Very popular african count and capture board game, called Kalaha (aka: Warri - Wari - Oware - Owari - Mancala - Bantumi - Kahbalah ... with slightly different rules).
The algorithm of this game is hard to beat.
It makes you be attentive, concentrate your attention on your computer opponent's actions and analyse each of your steps.
Remember: your opponent is eager to punish you for carelessness at any minute and after any move.
Don't give him this chance!