21 Stick Game

21 stick game.

If there are 21 sticks and two players – user &  computer.

First turn is of user he can pick up maximum 4 sticks at a time. than turn will be of computer’s. Computer will pick up maximum 4 sticks. Turns will be one by one.  Now who ever picks up the last key will lose the game and we have to make sure in our program that Computer must win.

Mail your code to careers@aurigait.com

Comments