Sudoku Update
Monday, July 28th, 2008New update to the sudoku puzzle game, it is still unplayable though.
On the first night of development, I created a few functions which create and draw the sudoku game to a table using php. It was my first time using php, but the syntax is very similiar to c and c++, it was pretty easy to pick up…
I had found a few errors in my logic and still need to correct them. Today, I decided it would be better to draw six 3×3 tables to give a better view of the categories. I also worked on inputing the number key (random seed) used for getting specific puzzles which the player can use to access puzzles they haven’t finished. The player can also select difficulties. I have various ideas of how to implement them in my algorithm. You can also click a print button and a back button, both were implemented with javascript. (I think it might be kind of tacky to keep them)
I have a few ideas which I would like to implement.
-
Input while playing on the computer.
-
Test button, which will hilight the user entries which are incorrect.
-
A save button which will save the sudoku puzzle to a cookie.
-
A way to display to the user how many of my puzzles they solved.
-
given values: black, user values: gray, wrong answers: red
I think the flow of the game should go like this:
-
User clicks the Sudoku link on the menu bar, Which brings you to the options of the game.
(with header, footer, sidebars)-
The option screen will have:
- load button (disabled if no cookie present)
- drop-down box for the levels. (easy, medium, hard, very hard)
- number key input area.
-
User clicks the play button with options filled out, which brings you to the puzzle.
(with header, footer, sidebars)-
The puzzle will have:
- Test button
- Save button
- Load button
- Printer-friendly button
I would eventually like a way to save how many puzzles users have solved, so that when they make comments, it will be displayed with an icon. Possibly doing this for future games I make.