The Nim game
 


 
 

Every time you must choose from 1 to maximum selected balls.
The winner is player, who takes the last ball.