🎉 Free Beta Access — All premium features are free until March 31, 2026!

About new Sudoku

tools.about-new-sudoku.embed.title

tools.about-new-sudoku.embed.subtitle

🔒

tools.about-new-sudoku.embed.pro-required.title

tools.about-new-sudoku.embed.pro-required.text

tools.about-new-sudoku.embed.pro-required.cta

tools.about-new-sudoku.embed.quick-start.title

1. tools.about-new-sudoku.embed.quick-start.step1

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

2. tools.about-new-sudoku.embed.quick-start.step2

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

3. tools.about-new-sudoku.embed.quick-start.step3

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

tools.about-new-sudoku.embed.options.title

Option Type Default Description
container string - tools.about-new-sudoku.embed.options.container
difficulty string "medium" tools.about-new-sudoku.embed.options.difficulty
theme string "light" tools.about-new-sudoku.embed.options.theme
showTimer boolean true tools.about-new-sudoku.embed.options.showTimer
showHints boolean true tools.about-new-sudoku.embed.options.showHints
apiKey string - tools.about-new-sudoku.embed.options.apiKey
onComplete function - Callback when puzzle is completed. Receives: {puzzleId, time, formattedTime}
onStart function - Callback when new game starts. Receives puzzle data.
onError function - Callback when error occurs. Receives error object.

tools.about-new-sudoku.embed.examples.title

tools.about-new-sudoku.embed.examples.basic

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

tools.about-new-sudoku.embed.examples.dark-theme

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

tools.about-new-sudoku.embed.examples.no-timer

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

With Result Callback

AboutNewSudoku.init('#sudoku-game', {
    apiBase: 'https://about-new.com/api/v1/tools/sudoku',
    apiKey: 'YOUR_API_KEY',
    onComplete: function(result) {
        // Send result to your backend
        console.log('Puzzle completed!', result);
        // result = { puzzleId: 123, time: 180, formattedTime: "3:00" }

        // Example: Save to your database
        fetch('/your-api/save-sudoku-result', {
            method: 'POST',
            headers: { 'Content-Type': 'application/json' },
            body: JSON.stringify({
                puzzle_id: result.puzzleId,
                time_seconds: result.time
            })
        });
    },
    onStart: function(puzzle) {
        console.log('New game started:', puzzle);
        // puzzle = { id: 123, difficulty: "medium" }
    }
});