Abstract

Let 0 < 2 b ≤ a < c be integers. Two players play alternately with a pile of stones. Each player at his turn selects one move from the following two: (i) Remove k stones from the pile subject to 1 ≤ k ≤ a or c + 1 ≤ k ≤ c + a . (ii) If the number m of stones in the pile satisfies m ≡ 2 b (mod 2 a ), add a stones to the pile. The player making the last move wins. If there is no last move, the game is a (dynamic) tie. The Generalized Sprague—Grundy function G is determined, thus giving the strategy of play for the game and its disjunctive compound. An algorithm requiring O( a 2 ) steps for computing G is given. It turns out that G = G (a, b, c) is of a rather complicated form. The main interest of the paper is in presenting a complete strategy for a class of games with dynamic ties.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.