About new Sudoku

Embed Sudoku on Your Website

Add our free Sudoku game to your website with a simple script

🔒

Pro Subscription Required

Embedding the Sudoku widget on external websites requires a Pro subscription. Upgrade to unlock this feature and more.

View Pro Plans

Quick Start

1. Add a container element where you want the game to appear

<div id="sudoku-game"></div>

2. Include the Sudoku script at the end of your page

<script src="https://about-new.com/js/sudoku/sudoku.js"></script>

3. Initialize the game with your preferences

<script>
AboutNewSudoku.init('#sudoku-game', {
    apiBase: 'https://about-new.com/api/v1/tools/sudoku',
    difficulty: 'medium',
    apiKey: 'YOUR_API_KEY'
});
</script>

Configuration Options

Option Type Default Description
container string - CSS selector for the container element
difficulty string "medium" Starting difficulty: "medium", "hard", or "expert"
theme string "light" Color theme: "light" or "dark"
showTimer boolean true Show/hide the game timer
showHints boolean true Enable/disable the hint button
apiKey string - Your API key (Pro users only)

Examples

Basic Usage

AboutNewSudoku.init('#sudoku-game', {
    apiBase: 'https://about-new.com/api/v1/tools/sudoku',
    apiKey: 'YOUR_API_KEY'
});

Dark Theme

AboutNewSudoku.init('#sudoku-game', {
    apiBase: 'https://about-new.com/api/v1/tools/sudoku',
    apiKey: 'YOUR_API_KEY',
    theme: 'dark'
});

Without Timer

AboutNewSudoku.init('#sudoku-game', {
    apiBase: 'https://about-new.com/api/v1/tools/sudoku',
    apiKey: 'YOUR_API_KEY',
    showTimer: false,
    difficulty: 'hard'
});