Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 715 Bytes

File metadata and controls

13 lines (11 loc) · 715 Bytes

Project Guidelines for GitHub Copilot

Tech Stack & Architecture

  • Backend: Python 3 with Flask framework
  • Frontend: Vanilla JavaScript (ES6+), HTML5, CSS3
  • Testing: pytest for backend unit testing

Code Standards

  • Code must be modular, highly readable, and maintainable with clear function docstrings.
  • Backend logic (Sudoku generation, solving, validation) should be separated from route handlers (app.py).
  • Frontend script must avoid global state pollution and use localStorage for data persistence.
  • Do not use external heavy libraries unless explicitly necessary; prefer clean vanilla JavaScript and CSS.
  • Ensure proper error handling and standard HTTP status codes in Flask API endpoints.