- Build distributions using maven tool:
mvn -P without-jre clean package
- Use the following archives:
target/gomoku-${project.version}-windows.zip
for Windowstarget/gomoku-${project.version}-unix.tar.gz
for MacOS or Linux
- Download OpenJDK 11;
- Unzip the downloaded OpenJDK archive;
- Configure the
PATH
environment variable:- Add
%JDK_HOME%\bin\
directory for Windows; - Add
$JDK_HOME/bin/
directory for MacOS and Linux;
- Add
- Re-login or restart computer;
- Unzip the Gomoku distribution:
- Unzip
gomoku-${project.version}-windows.zip
for Windows; - Unzip
gomoku-${project.version}-unix.tar.gz
for MacOS or Linux;
- Unzip
- Go to unzipped directory;
- Run the game by double-click on the start script:
start.cmd
for Windows;start.sh
for MacOS or Linux;
- Build distributions using maven tool:
mvn -P with-jre clean package
- Use the following archives:
target/gomoku-${project.version}-windows-with-jre.zip
for Windowstarget/gomoku-${project.version}-macos-with-jre.tar.gz
for MacOStarget/gomoku-${project.version}-linux-with-jre.tar.gz
for Linux
- Unzip the Tic tac toe distribution:
- Unzip
gomoku-${project.version}-windows-with-jre.zip
for Windows; - Unzip
gomoku-${project.version}-macos-with-jre.tar.gz
for MacOS; - Unzip
gomoku-${project.version}-linux-with-jre.tar.gz
for Linux;
- Unzip
- Go to unzipped directory;
- Run the game by double-click on the start script:
start.cmd
for Windows;start.sh
for MacOS or Linux;
- Open the terminal in folder with scripts.
- Enter command
./start.sh ${your-arguments}
. - List of arguments:
- LEVEL:
LEVEl1
,LEVEL2
; - SIZE: between
7
and15
.
- LEVEL:
./start.sh LEVEL1 7
- difficulty level became
1
; - a gametable with
7
rows and columns was created.
On Windows you must enter command without
./
in start