Nim Counting Game Solver v2
0 Stars     32 Views    

Author: Joshua

Project access type: Public

Description:

I used to play a game as a kid where you would start at 21 or some other number and players would take turns subtracting one or two until one player ended at 1 and they were the winner.  This is a solver for the 6 bit version of this game.  All numbers are LSB at the top.  On the left inputs enter the starting number.  The outputs on the right will tell you what to subtract.

The logic is basically to calculate if the number is multiple of 3 and if so subtract 2 otherwise subtract 1.  Each circuit block is calculating the modulus of three based on the modulus from the higher bit.

Created: Apr 29, 2022

Updated: Aug 27, 2023


Comments

You must login before you can post a comment.

It's fascinating to see how childhood games like the one described can evolve into strategic challenges. The concept of starting at a number and subtracting to reach a winning position showcases the beauty of simple math combined with competition. The solver for the 6-bit version adds a new layer of depth, making it an excellent tool for those who love strategy. For anyone looking to enhance their gaming experience further, https://jeetbuzzs.com/sign-up/ Jeetbuzz offers exciting opportunities to engage with games and competitions. It’s a great reminder of how these early games can inspire a lifelong passion for strategic thinking and fun!
Posted on Sep 19 2024 at 02:26PM UTC. Last modified by Busya1717 on Sep 25 2024 at 11:31PM UTC.
+0