Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.28 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.28 KB

Stitches-solver

Solver for the game "Stitches" The project was completed in the third year of my Bachelor's degree (L3).

Basic Rules of Stitches:

Connect Each Block to ALL Its Neighbors: The primary objective in Stitches is to connect each block to all its neighbors. This connection is established by a "stitch" between two adjacent blocks. Stitches Between Adjacent Blocks: Each "stitch" represents a connection between two adjacent cells, either horizontally or vertically, from two distinct blocks. Players must strategically maneuver to establish these crucial links. Prohibition of Converging Stitches: Two "stitches" cannot originate from the same hole. This rule adds a layer of complexity to the game, requiring players to carefully plan their moves to avoid problematic intersections. Number Indicators: The numbers arranged around the grid serve as essential guides. They indicate the number of holes present in the respective row or column. Players must adhere to these indicators to reach the optimal solution.

To lauch the project :

  1. Make sure you have a C compiler installed on your system. You can use a compiler such as GCC (GNU Compiler Collection) to compile the source code.
  2. Download the repository
  3. Make
  4. Use one of the two version. One is for 5x5grids and the other 7x7