Game of Sticks

MATLAB Assignment 2

  • a game where two players take turns to pick up sticks until there's no stick left
  • the last player who takes the last stick loses