Not so long ago i made a sudoku puzzle game in JavaScript using the KineticJS library.

Programming

I was interested in making such game because its quite challenging to make a solvable puzzle. especially when programming it. After many failed attempts i finally managed to generate a sudoku using PHP.

The game itself runs in the new HTML5  canvas element and uses the KineticJS library to draw to it. When you click the button to create a new sudoku it will send the generator a request to generate a new sudoku. The generator written in PHP will then generate a fully solved sudoku puzzle which he will then remove numbers from. When the generator is done with generating the sudoku it will return the puzzle as one big string where the removed numbers have been replaced with question marks. The game will receive the string and make sure it displays correctly in the canvas.

How to solve a sudoku puzzle

A sudoku puzzle has 81 cells which are mostly empty and divided in 9 rows, columns and blocks. At least 17 cells are filled but usually there are more filled. the more cells are empty the harder the sudoku is.

You can solve a puzzle by filling each cell with a number from 1 to 9 but each number can only appear once in a row, column and block.

You can try the sudoku puzzle here.

A solved sudoku puzzle

A solved sudoku puzzle generated by my PHP sudoku generator

Pully! is an android game where you pull rows of blocks to combine 3 or more of the same color blocks to score points. This game currently has 3 different game modes: Time attack In this game mode you try to score as many points as you can in 90 seconds. Clear the field In … Read more!

Party Popper Is a small game made for the Cobalt game jam #1. It’s a short fun game where you play a big evil eye who wants to destroy every balloon it can find! Just don’t hit the kids! Simple, but addictively challenging. Download and play it for free or pay whatever you want so … Read more!

Rifle Rambler This is my ludum dare 30 entry! Ludum Dare is an online game jam event where people from around the world create a game in a weekend.For more information click here. This time I joined solo, so I had 48 hours to make a game, which included writing all the code, drawing all the … Read more!

It was time for Ludum Dare 29! Ludum Dare is an online game jam event where people from around the world create a game in a weekend. For more information click here. This time i joined the jam. In wich you have 72 hours to create a game, while the compo has a time limit … Read more!

It was time for another ludumdare! Ludumdare 27!, Ludumdare is a game making competition where you have to make a game within 48 hours! More info at:http://www.ludumdare.com The theme this time was “10 seconds”, A really simple game you could make with that theme is to kill as much of something in 10 seconds! and … Read more!

I decided to play around with the canvas element of HTML5. I made a simple breakout game. With the help of the kineticJS libary it was really easy to make a game. I used about 6 hours to figure out of how the libary works and how to make a simple game. Later i spend another 3 … Read more!