Text chain mail

A classic!

Here's a simple text-based implementation of a chain mail generator:

Chain Mail Generator

Enter the number of rings you'd like to generate: _

Ring 1

  +---------------+
  |               |
  |  **  |  **  |
  |               |
  +---------------+

Ring 2

  +---------------+
  |               |
  |  **  |  **  |
  |  **  |  **  |
  |               |
  +---------------+

Ring 3

  +---------------+
  |               |
  |  **  |  **  |
  |  **  |  **  |
  |  **  |  **  |
  |               |
  +---------------+

...and so on.

To generate the next ring, simply type next and I'll add another row to the chain mail.

Go ahead and start the chain mail!