Overview of Sudoku Game
by John Vincent
Posted on May 1, 2018
Ever looked for a Sudoku Application that will help you solve your Sudoku puzzles?
Sudoku Game Solver and Generator Application
The application has everything you need for hours of Sudoku playing enjoyment:
- Generate a puzzle
- Insert a puzzle, the application will help you solve the puzzle.
- Walk through a puzzle.
- Computer moves.
- Undo is supported.
- Ask the computer to solve the puzzle.
- Save a puzzle.
- Load a puzzle.
- Drag and Drop
To execute app from the command line, use
.sudoku file may be passed as a parameter. The saved game will be loaded so the game may recommence.
010000780 820010509 900005020 003950000 000703000 000086300 070500003 604070095 059000010
- Zero => not set
- 1-9 => initial value
Sudoku Web Sites
Many websites allow for Sudoku playing. Start a game and insert the game into the Sudoku Application for help with the puzzle.
#!/bin/sh # # script to run java app Sudoku # PARAMS="$*" echo "PARAMS are $PARAMS" # DEV_HOME=/Users/jv/Desktop/MyDevelopment/github/java/Games/java-sudoku/Sudoku # cd $DEV_HOME # MYCP=$DEV_HOME/classes:$DEV_HOME/Jars/log4j-1.2.13.jar # MY_FILE=$PARS # java -cp $MYCP io.johnvincent.sudoku.gui.Appgui $MY_FILE
Create Symbolic Link
ln -s /Users/jv/Desktop/MyDevelopment/github/java/Games/java-sudoku/Sudoku/app.command /Users/jv/Desktop/MyDevelopment/github/repo_shell_scripts/mac/unix-scripts/bin/sudoku
Save Sudoku as a Mac App
Execute from Finder
- Go, Applications
- Execute: Automator (or Automator.app)
- Quick Action, or
and then select
From the middle pane, double click Run Shell Script
Shell: /bin/bash Pass input: as arguments
- File, Save:
- Save as: sudoku
- Where: Applications
saves sudoku.app in Applications.
Start Sudoku with Game Imported
cd /Users/jv/Desktop/MyDevelopment/github/java/Games/java-sudoku/Sudoku ./app.command games/game_1.sudoku
cd /Users/jv/Desktop/MyDevelopment/github/java/Games/java-sudoku/Sudoku /Users/jv/Desktop/MyDevelopment/github/repo_shell_scripts/mac/unix-scripts/bin/sudoku games/game_1.sudoku
cd /Users/jv/Desktop/MyDevelopment/github/java/Games/java-sudoku/Sudoku open -a sudoku.app --args games/game_1.sudoku
Make Sudoku the default app for
- select folder
- select any
- right click, Get Info
- Select: sudoku.app
- Select: Change All
At Github, create repository
cd /Users/jv/Desktop/MyDevelopment/github/java/Games create-repo java-sudoku
Remove non-relevant files.
For details, see Sudoku/README.md
Right click, Services
Create Java Project
- File, New, Project
- Java Project
- Project Name: Sudoku
- Use default location
- JRE; Use an execution environment JRE: JavaSE-1.8
- Create separate folders for sources and class files
- Default output folder:
- Right click, New, Package
Copy code to this package and change package names.