Python CSS Sudoku
Output Readme Download Replit Sel. & Copy Full


This repl creates a static HTML/CSS sudoku game from a puzzle. Set the numbers to be digits or any set of characters including emojis. Any rectangular sized puzzle should work, but larger ones will be too big/slow.

To view this on TripleLog, click here.


Use the jinja2 templating to generate the index.html file from template.html. The syntax is similar to nunjucks.


A template file called template.html is used to eventually create the index.html file with the final game.


A lot of the CSS is generated automatically, but the style.css file can be modified like normal CSS to change the appearance of the page.