GameMaker (2.0 - 2.2.x)



You must be logged in to obtain assets


A 9X9 sudoku generator

NOTE: This is a generator, not a complete sudoku game!

How to use: Import the extension into your project. Call the sudoku_generate() function. It returns a 9X9 array with a solved sudoku puzzle. Optionally, call the sudoku_set_givens() function, passing the generated puzzle and a number between 1 and 81. It will return an additional 9X9 array, containing randomly selected cells from the generated puzzle, with the rest of the cells set to zero.


var p = sudoku_generate();

var u = sudoku_set_givens(p, 30);

You shouldn't have to use the rest of the scripts. They are just functions called from the sudoku_generate script.

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2 - Version 1.0.0. Published April 30, 2019

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait