Question: This mini project will require you to implement the Game of Sticks in MATLAB (adapted from http:/ifty.stanford.edu/2014/laaksonen-vihavainen-game-of-sticks/). The rules of the game are as follows.

This mini project will require you to implement the Game of Sticks in MATLAB (adapted from http:/ifty.stanford.edu/2014/laaksonen-vihavainen-game-of-sticks/). The rules of the game are as follows. There are 2 players and 20 sticks. Players take turns sequentially. On each player's turn, they must remove between 1 and 3 sticks. The object of the game is to not be the player to pick up the last stick. Your general goal in this mini project is to create a GUI for enabling users to play the Game of Sticks against the computer. For the sake of simplicity, we will assume that the computer starts always first. Your GUI must have a visualization of how many sticks there are left, whose turn it is and an interface Before starting the game, the user should be able to choose between three different levels of difficulty: Easy The computer chooses a random number (between 1 and 3) of sticks in its turn turn (2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
