diff --git a/deployment/client/data/files/startClient.bat b/deployment/client/data/files/startClient.bat new file mode 100644 index 0000000..925c683 --- /dev/null +++ b/deployment/client/data/files/startClient.bat @@ -0,0 +1,13 @@ +@echo off +IF exist javafx-sdk-11.0.2 ( goto launch ) ELSE ( goto create_enviorment && goto launch) + +:create_enviorment +powershell -command "Expand-Archive -Force 'openjfx-11.0.2_windows-x64_bin-sdk.zip' 'library' +cd library +move javafx-sdk-11.0.2 ../ +cd ../ +rmdir library + +:launch +set /p playerName="Gebe deinen Spielernamen ein: " +java -jar --module-path javafx-sdk-11.0.2\lib --add-modules javafx.controls TicTacToe_Client.jar %playerName% \ No newline at end of file diff --git a/deployment/client/data/index.css b/deployment/client/data/index.css new file mode 100644 index 0000000..c78d8c2 --- /dev/null +++ b/deployment/client/data/index.css @@ -0,0 +1,35 @@ +/* Style buttons */ +.btn { + background-color: DodgerBlue; + border: none; + color: white; + padding: 12px 30px; + margin: 10px 5px; + border-radius: 12px; + cursor: pointer; + font-size: 20px; + } + + /* Darker background on mouse-over */ + .btn:hover { + background-color: RoyalBlue; + } + + .object-wrapper { + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; + } + + .object-div { + max-width: 420px; + width: 100%; + } + + .object { + padding: 20px; + display: inline-block; + width: 100%; + text-align: center; + } \ No newline at end of file diff --git a/deployment/client/data/index.html b/deployment/client/data/index.html new file mode 100644 index 0000000..eb81e15 --- /dev/null +++ b/deployment/client/data/index.html @@ -0,0 +1,28 @@ +
+ + + +