Sprouts is a simple 3 rule game created by John Horton Conway and Mike Paterson. The game begins with some initial number of dots greater than 2 and players take turns connecting dots with lines. Each time a player draws a line, that player places a dot on that line. This implementation of the game allows users to play sprouts in ascii from the command line.
- The must not touch or cross itself or any other line.
- The new spot cannot be placed on top of one of the endpoints of the new line. Thus the new spot splits the line into two shorter lines.
- No spot may have more than three lines attached to it. For the purposes of this rule, a line from the spot to itself counts as two attached lines and new spots are counted as having two lines already attached to them.