Home > Net >  Bosses to solve!!!!!!
Bosses to solve!!!!!!

Time:11-08

15 any items (can be a match toothpick poker)
The following the toothpick, for example

Will be 15 toothpick
Divided into three lines
Direction of each row from top to bottom (not limited), respectively, 3, 5, 7 root

Arrange two players, each person can be in the round, take any toothpick in any line, but not an inter-bank

Take a toothpick at last is the loser

Topic is
Please use your best language, what do you think of the most elegant way to write a program that conforms to the above rules of the game, after the completion of the written code and resume and sent to the following three email (note the name + position), and add a brief words to describe your ideas
(please use javascript, typescript or one of the c # language ablilty)

Bosses to solve!!!!!!
  •  Tags:  
  • C#
  • Related