AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Sudoku game in java with source code4/12/2023 ![]() ![]() It should look like this:ĭon't put all your code in the main() method. You should use a loop to that displays the current grid, prints a menu, and asks the user for input. Your program should match the samples as closely as possible. See the sample runs at the end of this document. Write a LetsPlaySudoku class that allows the client to create a sudoku puzzle from a String array, and then uses a menu to allow the user to make moves, erase moves, and undo moves, among other things. Don't put print statements in any other methods in the SudokuPuzzle class.Ģ. Only two of your methods are supposed to do any printing: displayGrid() and displayOriginal(). ![]() Your code gets harder to maintain as you create more variables. Use additional instance variables as needed, but try not to overdo it. Use another 2D int array to store the current values in the grid (so, the original values, plus any moves that have been made). Use a 2D int array to store the original values in the grid (you decide how to handle empty spaces). Implement the SudokuPuzzle class, here are the requirements: A Sudoku Puzzle code in java needs help urgently !ġ. ![]()
0 Comments
Read More
Leave a Reply. |