User Profile
Collapse
-
the problem with doing that is that i also have to stay within the ruels of the game, the same number may appear twice in the same row/column or 3x3 cell -
Sudoku, just need help on generating random numbers... and then checking
okay, so i started on code for Sudoku on ready to program java ... very close to java. I was able to create a 2d array and display and change the variables. What i want to do now is to generate random numbers in the array. Numbers in between 1 and 9. and then i need to check for rows, columns and the boxes... i am new to arrays and i really need some help.
...Code:// The "Sudoku" class. import java.awt.*; import hsa.Console;
Last edited by Niheel; Jun 10 '10, 12:51 AM. Reason: Placed code in code tags. Please use code tags to show your code in the future.
No activity results to display
Show More
Leave a comment: