Skip to content

adding new ones for sudoku - #1595

Closed
codewithharshit17 wants to merge 1 commit into
steam-bell-92:mainfrom
codewithharshit17:main
Closed

adding new ones for sudoku#1595
codewithharshit17 wants to merge 1 commit into
steam-bell-92:mainfrom
codewithharshit17:main

Conversation

@codewithharshit17

Copy link
Copy Markdown

#1363

📋 Description

This PR implements an interactive Sudoku Game complete with a real-time Recursive Backtracking Solver Visualizer. Instead of a standard terminal script, this implementation has been built directly into the web application frontend using the repository's native browser-terminal emulator structure. It allows users to play puzzles step-by-step or watch an AI programmatically solve constraint satisfaction problems live on the UI.

🚀 Proposed Changes

  • Game Logic & UI (web-app/js/projects/sudoku-game.js): Created a fully responsive, vanilla JavaScript module that renders a formatted 9x9 grid inside the custom terminal dashboard.
  • Play Mode: Added difficulty settings (Easy, Medium, Hard) that dynamically strip numbers from a pre-generated, valid seed board using randomized arrays. Supports step-by-step coordinate inputs.
  • Auto-Solver Mode: Integrated a classic Depth-First Search (DFS) backtracking algorithm using async/await timeouts, giving a live, visual demonstration of the algorithm searching the decision tree.
  • Registry Integration: Updated web-app/projects_registry.json and the root projects_registry.json to properly index the game in the sidebar and global search.

🛠️ Technical Details

  • Zero External Dependencies: Built entirely using modern vanilla JavaScript and core web APIs.
  • Constraint Satisfaction: Safe-placement utility functions automatically check and validate row, column, and 3x3 sub-grid rules.

📝 Checklist

@steam-bell-92 please review.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

@codewithharshit17 is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@codewithharshit17 codewithharshit17 closed this by deleting the head repository Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant