Skip to content

Commit aca2c03

Browse files
committed
repush
1 parent d17aa65 commit aca2c03

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
run: jpackage --input ${{ env.OUT_DIR }} --name ${{ env.FILE_NAME }} --main-jar ${{ env.FILE_NAME }}-${{ env.VERSION }}.jar --main-class App --type deb --dest .
104104

105105
- name: List contents of out directory
106-
run: ls ${{ env.OUT_DIR }}
106+
run: ls -lh .
107107

108108
- name: Rename Ubuntu standalone
109109
run: mv ${{ env.FILE_NAME }}_1.0-1_amd64.deb ${{ env.FILE_NAME }}-Ubuntu-${{ env.VERSION }}_amd64.deb
@@ -142,7 +142,7 @@ jobs:
142142
run: jpackage --input ${{ env.OUT_DIR }} --name ${{ env.FILE_NAME }} --main-jar ${{ env.FILE_NAME }}-${{ env.VERSION }}.jar --main-class App --type exe --dest .
143143

144144
- name: List contents of out directory (Windows)
145-
run: Get-ChildItem -Path ${{ env.OUT_DIR }}
145+
run: Get-ChildItem -Path .
146146

147147

148148
- name: Rename Windows standalone

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Make sure you have JRE installed on your computer. You can download JRE [here](h
8686

8787
Make sure you have JRE installed on your computer. You can download JRE [here](https://adoptium.net/) or [here](https://www.oracle.com/java/technologies/javase-jre8-downloads.html).
8888

89-
Ensure that Java is added to your `PATH` so that it can be accessed from the command prompt. (Most installers will do this for you.) To check if Java is installed, run the following command in Command Prompt or PowerShell:
89+
Ensure that Java is added to your `PATH` so that it can be accessed from the command prompt. During the jre installation, You will have option to add to your path. Is is unchecked by default. Make sure to enable it. To check if Java is installed, run the following command in Command Prompt or PowerShell:
9090
```bash
9191
java -version
9292
```

src/Computer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ private int minimax(int depth, int alpha, int beta, boolean isWhitesTurn) {
120120
if(depth == 0 || blackWon || whiteWon || draw) {
121121
// evaluate the board from the computer's perspective
122122
if(blackWon){
123-
result = 100 + depth;
123+
result = 1000 + depth;
124124
} else if(whiteWon){
125-
result = -(100 + depth);
125+
result = -(1000 + depth);
126126
} else if(draw){
127127
result = 0;
128128
} else {

0 commit comments

Comments
 (0)