You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-18Lines changed: 32 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
# Star SUDOKU
1
+
# StarSUDOKU
2
2
3
3
## TL;DR
4
4
5
5
Java version of the popular Sudoku puzzle game. Intends to provide an advanced user interface.
6
-
With Star SUDOKU you can create random sudoku grids or design your own to play/solve.
6
+
With StarSUDOKU you can create random sudoku grids or design your own to play/solve.
7
7
It can be used as sudoku generator, solver. You can export sudoku grids as PDF, RTF, HTML, XML and CSV.
8
8
9
9

@@ -13,8 +13,10 @@ It can be used as sudoku generator, solver. You can export sudoku grids as PDF,
13
13
### This Readme includes:
14
14
15
15
1. System requirements
16
-
2. How to build Star SUDOKU
17
-
3. Running Star SUDOKU on your system
16
+
2. How to build StarSUDOKU
17
+
* How to build an Windows EXE
18
+
* How to extend StarSUDOKU
19
+
3. Running StarSUDOKU
18
20
4. Features
19
21
5. Instructions
20
22
* Entering numbers in a cell
@@ -31,15 +33,15 @@ It can be used as sudoku generator, solver. You can export sudoku grids as PDF,
31
33
1. System requirements
32
34
----------------------
33
35
34
-
Star SUDOKU is written in JAVA programming language, this means that it can be run on any Operating System which has JAVA Runtime Environment (JRE).
36
+
StarSUDOKU is written in JAVA programming language, this means that it can be run on any Operating System which has JAVA Runtime Environment (JRE).
35
37
36
38
You need JRE 1.7.0 (also know as JRE 7) or above. You can download JRE for free at www.java.com
37
39
38
-
2. How to build Star SUDOKU
40
+
2. How to build StarSUDOKU
39
41
---------------------------
40
-
If you want to build Star SUDOKU on your local machine you need to install the Java Development Kit (JDK). You need JDK 1.7.0 or above.
42
+
If you want to build StarSUDOKU on your local machine you need to install the Java Development Kit (JDK). You need JDK 1.7.0 or above.
41
43
42
-
Star SUDOKU uses the Gradle build system, you can build the project locally just by typing the following in the console:
44
+
StarSUDOKU uses the Gradle build system, you can build the project locally just by typing the following in the console:
43
45
44
46
```
45
47
./gradlew build
@@ -52,7 +54,19 @@ On Windows use:
52
54
53
55
The generated jar file can be found in the folder _build/libs_
54
56
55
-
### How to extend Star SUDOKU
57
+
### How to build an Windows EXE
58
+
The Gradle build script provides a way to build an Windows executable. You can even do this on a non-Windows machine. For that purpose you need an external application called
59
+
[Launch4j](http://launch4j.sourceforge.net/). Download it and install it on your local machine. The version used to test this feature is 3.8, but it will probably work with
60
+
other versions too. In addition to this, you need to create an environment variable called `LAUNCH4J_HOME` which points to the folder where you have installed the application.
61
+
62
+
After that you can build the exe file by running:
63
+
```
64
+
./gradlew launch4j
65
+
```
66
+
67
+
The generated exe file can be found in the folder _build/launch4j_
68
+
69
+
### How to extend StarSUDOKU
56
70
If you want to import the project in an IDE such as Eclipse or IntelliJ IDEA then Gradle provides a way to generate all the necessary project files.
57
71
58
72
Generate Eclipse project:
@@ -65,18 +79,18 @@ Generate IntelliJ IDEA project:
65
79
./gradlew idea
66
80
```
67
81
68
-
3. Running Star SUDOKU on your system
69
-
-------------------------------------
82
+
3. Running StarSUDOKU
83
+
---------------------
70
84
71
-
To start Star SUDOKU try one of the following options:
85
+
To start StarSUDOKU try one of the following options:
72
86
73
-
*Double click on the jar File to start Star SUDOKU. If this didn't work, then you didn't associate your jar Files with your JRE.
87
+
*For Windows users we also provide an exe file, which ist just a wrapper for the jar file. Double click on the exe file to start the application.
74
88
75
-
*For Windows users we also provide an exe file, which ist just a wrapper for the JAR file. Double click on the exe file to start the application.
89
+
*Double click on the jar File to start StarSUDOKU. If this didn't work, then you didn't associate your jar Files with your JRE.
76
90
77
91
* Double click on `StarSUDOKU.bat` for Windows users or on `StarSUDOKU` for Linux users. This will start the application, but only if you have built it with Gradle first.
78
92
79
-
* Open the console go to your Star SUDOKU folder and type:
93
+
* Open the console go to your StarSUDOKU folder and type:
80
94
```
81
95
java -jar StarSUDOKU-1.0.jar
82
96
```
@@ -95,7 +109,7 @@ java -jar StarSUDOKU-1.0.jar
95
109
96
110
\* An user custom level means that you can enter a number between 1 and 81. And next time you generate a new puzzle exactly that many numbers will be shown at the Sudoku grid. So if you enter 81 then the next puzzle will already be solved when you generate it.
97
111
98
-
\*\* Number distribution in Star SUDOKU means, how are the numbers distributed when you generate a new puzzle. There are 3 numbers distributions:
112
+
\*\* Number distribution in StarSUDOKU means, how are the numbers distributed when you generate a new puzzle. There are 3 numbers distributions:
99
113
100
114
* Evenly filled 3x3 Squares - means all 3x3 Squares are evenly filled with numbers, when you start a new puzzle.
101
115
* Evenly distributed numbers - means that all numbers from 1 to 9 are evenly distributed. So when you generate a new puzzle there will be even number of 1s, 2s, 3s and so on...
@@ -133,7 +147,7 @@ Click on the cell with the middle mouse button.
133
147
134
148
### Design mode
135
149
136
-
Click on the 'Design New Sudoku' Button to start the Design Mode, by default Star Sudoku starts with Design Mode on. Enter Your numbers in the Grid and hit 'Play the designed Sudoku' button, if the game cannot find any solution to the numbers you've just entered then a dialog window is shown, otherwise You can begin solving the Sudoku puzzle.
150
+
Click on the 'Design New Sudoku' Button to start the Design Mode, by default StarSUDOKU starts with Design Mode on. Enter Your numbers in the Grid and hit 'Play the designed Sudoku' button, if the game cannot find any solution to the numbers you've just entered then a dialog window is shown, otherwise You can begin solving the Sudoku puzzle.
137
151
138
152
### Additional options
139
153
@@ -156,4 +170,4 @@ If you complete the puzzle successfully you will be informed by a pop up window
StringerrorMsg = "<HTML><FONT COLOR=\"RED\">Your Java version is too old!</FONT><BR><BR>Star SUDOKU requires JAVA Runtime Environment JRE 1.7.0 / JRE 7 or above.<BR> Please download the latest JRE at <FONT COLOR=\"#0000ff\">www.java.com</FONT></HTML>";
24
+
StringerrorMsg = "<HTML><FONT COLOR=\"RED\">Your Java version is too old!</FONT><BR><BR> " +
about.add(newJLabel("<HTML>This program is released under the Mozilla Public License 2.0 .<BR> A copy of this is included with your copy of Star SUDOKU<BR>and can also be found at:</HTML>"));
848
+
about.add(newJLabel("<HTML>This program is released under the Mozilla Public License 2.0 .<BR> A copy of this is included with your copy of StarSUDOKU<BR>and can also be found at:</HTML>"));
0 commit comments