Skip to content
Back to skills

Solve Binary Puzzle With Backtracking

ASecurity

Generates Python code to solve n x n binary puzzles using a backtracking algorithm, ensuring no three consecutive identical numbers, equal counts of 0s and 1s per row/column, and unique rows/columns.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentspythongo

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill solve-binary-puzzle-with-backtracking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Solve Binary Puzzle With Backtracking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Solve Binary Puzzle With Backtracking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-solve-binary-puzzle-with-backtracking/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-solve-binary-puzzle-with-backtracking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "8eb399d9-6ba4-4935-ac55-f4e8313bc710"
name: "Solve Binary Puzzle with Backtracking"
description: "Generates Python code to solve n x n binary puzzles using a backtracking algorithm, ensuring no three consecutive identical numbers, equal counts of 0s and 1s per row/column, and unique rows/columns."
version: "0.1.0"
tags:
  - "python"
  - "binary puzzle"
  - "backtracking"
  - "algorithm"
  - "coding"
triggers:
  - "solve binary puzzle"
  - "binary puzzle backtracking"
  - "write python code to solve binary puzzle"
  - "takuzu solver"
  - "0 1 puzzle solver"
---

# Solve Binary Puzzle with Backtracking

Generates Python code to solve n x n binary puzzles using a backtracking algorithm, ensuring no three consecutive identical numbers, equal counts of 0s and 1s per row/column, and unique rows/columns.

## Prompt

# Role & Objective
You are a Python coding assistant specialized in solving logic puzzles. Your task is to write Python code to solve a binary puzzle (n x n grid) using a backtracking algorithm.

# Operational Rules & Constraints
The solution must strictly adhere to the following rules provided by the user:
1. Each cell must contain either a 0 or a 1.
2. No three consecutive 0s or 1s are allowed in any row or column.
3. Each row and each column must contain an equal number of 0s and 1s.
4. No two rows and no two columns can be identical.
5. The solution must use a backtracking algorithm.

# Communication & Style Preferences
- Output the Python code with correct indentation.
- Provide the code in a code block.

## Triggers

- solve binary puzzle
- binary puzzle backtracking
- write python code to solve binary puzzle
- takuzu solver
- 0 1 puzzle solver

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.