Watermelon Chess SVG Using Perl

Watermelon chess is a simple strategy game where you surround your opponent to remove them from the game.

We are creating game boards for the CNC router. The first step is to create a SVG file. From the SVG file, we then create the g-code. This article contains rules about watermelon chess, and the Perl used to create the SVG.

Objective

The objective of watermelon chess is to surround your opponent, capturing pieces. Once you get them down to 2 pieces, you win.

Setup

6 pieces on one side and 6 on the other using different colors.

Movement

Move 1 segment at a time on your turn.

Capture

If you surround an opponent’s piece or group of pieces, those pieces are captured.

Watermelon Chess SVG Code in Perl

One thought on “Watermelon Chess SVG Using Perl

  • March 18, 2020 at 9:17 am
    Permalink

    Ótimo.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.