Introduction: TINKERCAD CODEBLOCK CHESS SET

About: Technology Teacher MS/HS

This is a project I did with my 8th grade coding class. Students worked individually or with a partner to build and customize code blocks for a Board, Pawn, King, Queen, Bishop, Knight and Rook.

Once the codes were written, the initial pieces are positioned on the board. Once in position, copies of the initial pieces were created and positioned to complete the set.

Students were very creative customizing their pieces. Click the link for an example - Creative Pieces. One group programmed the great chess game of Kasparov vs. Topalov. Click the link to watch the game - Kasparov vs. Topalov

The biggest challenge was keeping the Primitives Meter under 200. Hopefully Tinkercad fixes this issue.

Supplies

Tinkercad.com - Create an account .

Step 1:

Create a New Codeblock Design.

Step 2: CHESS BOARD

Recreate and customize the board colors.

Step 3: PAWN

Create the Pawn and move it to its start position. By default it will be centered at 0,0 on the board.  Use the Grid to adjust the X,Y axis.

Step 4: KING, QUEEN, BISHOP, KNIGHT, ROOK

Repeat STEP 3 to create and position the King, Queen, Bishop, Knight and Rook. By default they will each be centered at 0,0 on the board.  Use the Grid to adjust each  X,Y axis. 



Step 5: COMPLETE SIDE 1

Create and position new object copies of the Pawn, Bishop, Knight and Rook to complete one side of the set. Since the original pieces are in position, the copies only need to move along the X axis. 



Step 6:

Create a New Object for the opposite Pawn. Add a copy of the original Pawn to this code and change its color. Use the Grid to move the piece into its start position on the X,Y axis.



Step 7:

Repeat STEP 6 to create and position the King, Queen, Bishop, Knight and Rook for the opposite side.



Step 8:

Using the codes created in STEP 6 and STEP 7, Repeat STEP 5 to make copies of the remaining pieces to complete the Chess Set. 



Block Code Contest

Participated in the
Block Code Contest