- Backend: Python 3 with Flask framework
- Frontend: Vanilla JavaScript (ES6+), HTML5, CSS3
- Testing:
pytestfor backend unit testing
- 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
localStoragefor 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.