Skip to content

Commit

Permalink
repush
Browse files Browse the repository at this point in the history
  • Loading branch information
vmsaif committed Sep 3, 2023
1 parent d17aa65 commit aca2c03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
run: jpackage --input ${{ env.OUT_DIR }} --name ${{ env.FILE_NAME }} --main-jar ${{ env.FILE_NAME }}-${{ env.VERSION }}.jar --main-class App --type deb --dest .

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

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

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


- name: Rename Windows standalone
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Make sure you have JRE installed on your computer. You can download JRE [here](h

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).

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:
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:
```bash
java -version
```
Expand Down
4 changes: 2 additions & 2 deletions src/Computer.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ private int minimax(int depth, int alpha, int beta, boolean isWhitesTurn) {
if(depth == 0 || blackWon || whiteWon || draw) {
// evaluate the board from the computer's perspective
if(blackWon){
result = 100 + depth;
result = 1000 + depth;
} else if(whiteWon){
result = -(100 + depth);
result = -(1000 + depth);
} else if(draw){
result = 0;
} else {
Expand Down

0 comments on commit aca2c03

Please sign in to comment.