Skip to content

A complete Jigsaw Puzzle game built in Unity and C#. This repository contains the source code for the tutorial series covering Bézier curve mathematics, procedural tile generation, and full game logic implementation.

Notifications You must be signed in to change notification settings

shamim-akhtar/jigsaw-puzzle

Repository files navigation

LinkedIn Gmail Facebook



Jigsaw Puzzle Game

Build a Jigsaw Puzzle Game in Unity



This repository comprises the source code for my comprehensive tutorial series.
We delve in-depth to create a jigsaw puzzle game using C# in Unity, starting from the math of Bézier curves to full game logic.

  




📚 Tutorial Overview

The tutorial is divided into four broad sections. You can read the written version of this tutorial on Faramira or follow the specific branches in this repository.

Section 1: Implement Bézier Curve using C# Section 2: Create a Jigsaw Tile from Image

Learn how to implement the Bézier curve using C# in Unity and create a sample application to display it.

📖 Read Tutorial Part 1
📂 View Branch: tutorial-01


We move from lines to shapes. Learn how to use the curve to cut a Jigsaw tile from an existing image.

📖 Read Tutorial Part 2
📂 View Branch: tutorial-02

Section 3: Create a Jigsaw Board Section 4: Create the Jigsaw Game

Scaling up the logic. Learn how to generate a full board of interlocking tiles from a single image.

📖 Read Tutorial Part 3
📂 View Branch: tutorial-03


The final polish. We implement game logic, shuffling, snapping, and win conditions.

📖 Read Tutorial Part 4
📂 View Branch: tutorial-04


📺 Video Tutorial

Watch the video

About

A complete Jigsaw Puzzle game built in Unity and C#. This repository contains the source code for the tutorial series covering Bézier curve mathematics, procedural tile generation, and full game logic implementation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published