Skip to content

Commit

Permalink
Merge pull request #23 from AchilleMorenville/github-action
Browse files Browse the repository at this point in the history
Add GitHub action for Trials
  • Loading branch information
DennisSoemers authored Jan 11, 2024
2 parents 07adf9b + 08cb443 commit 4e9a188
Show file tree
Hide file tree
Showing 2,363 changed files with 3,307,159 additions and 8 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/trials.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow will build a Java project with Ant
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant

name: Run Trials

on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build and Test with Ant
run: |
cd PlayerDesktop
export ANT_OPTS=-Xmx6g
ant clean test
1 change: 0 additions & 1 deletion Player/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ FormattedLud.lud
/NQueens.PNG
/Sudoku.PNG
/HexCapture.PNG
*.txt
/results.csv
/cameronMathew.heu
742 changes: 742 additions & 0 deletions Player/res/random_trials/board/hunt/Adugo/RandomTrial_0.txt

Large diffs are not rendered by default.

638 changes: 638 additions & 0 deletions Player/res/random_trials/board/hunt/Adugo/RandomTrial_1.txt

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions Player/res/random_trials/board/hunt/Asalto/RandomTrial_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
game=../Common/res/lud/board/hunt/Asalto.lud
START GAME OPTIONS
END GAME OPTIONS
RNG internal state=-52,-26,15,112,31,36,46,-17
Move=[Move:mover=0,from=27,to=27,actions=[Add:type=Vertex,to=27,what=1]]
Move=[Move:mover=0,from=29,to=29,actions=[Add:type=Vertex,to=29,what=1]]
Move=[Move:mover=0,from=0,to=0,actions=[Add:type=Vertex,to=0,what=2]]
Move=[Move:mover=0,from=1,to=1,actions=[Add:type=Vertex,to=1,what=2]]
Move=[Move:mover=0,from=2,to=2,actions=[Add:type=Vertex,to=2,what=2]]
Move=[Move:mover=0,from=3,to=3,actions=[Add:type=Vertex,to=3,what=2]]
Move=[Move:mover=0,from=4,to=4,actions=[Add:type=Vertex,to=4,what=2]]
Move=[Move:mover=0,from=5,to=5,actions=[Add:type=Vertex,to=5,what=2]]
Move=[Move:mover=0,from=6,to=6,actions=[Add:type=Vertex,to=6,what=2]]
Move=[Move:mover=0,from=7,to=7,actions=[Add:type=Vertex,to=7,what=2]]
Move=[Move:mover=0,from=8,to=8,actions=[Add:type=Vertex,to=8,what=2]]
Move=[Move:mover=0,from=9,to=9,actions=[Add:type=Vertex,to=9,what=2]]
Move=[Move:mover=0,from=10,to=10,actions=[Add:type=Vertex,to=10,what=2]]
Move=[Move:mover=0,from=11,to=11,actions=[Add:type=Vertex,to=11,what=2]]
Move=[Move:mover=0,from=12,to=12,actions=[Add:type=Vertex,to=12,what=2]]
Move=[Move:mover=0,from=13,to=13,actions=[Add:type=Vertex,to=13,what=2]]
Move=[Move:mover=0,from=14,to=14,actions=[Add:type=Vertex,to=14,what=2]]
Move=[Move:mover=0,from=15,to=15,actions=[Add:type=Vertex,to=15,what=2]]
Move=[Move:mover=0,from=19,to=19,actions=[Add:type=Vertex,to=19,what=2]]
Move=[Move:mover=0,from=20,to=20,actions=[Add:type=Vertex,to=20,what=2]]
Move=[Move:mover=0,from=21,to=21,actions=[Add:type=Vertex,to=21,what=2]]
Move=[Move:mover=0,from=22,to=22,actions=[Add:type=Vertex,to=22,what=2]]
Move=[Move:mover=0,from=23,to=23,actions=[Add:type=Vertex,to=23,what=2]]
Move=[Move:mover=0,from=24,to=24,actions=[Add:type=Vertex,to=24,what=2]]
Move=[Move:mover=0,from=25,to=25,actions=[Add:type=Vertex,to=25,what=2]]
Move=[Move:mover=0,from=26,to=26,actions=[Add:type=Vertex,to=26,what=2]]
Move=[Move:mover=1,from=29,to=28,actions=[Move:typeFrom=Vertex,from=29,typeTo=Vertex,to=28,decision=true]]
Move=[Move:mover=2,from=8,to=16,actions=[Move:typeFrom=Vertex,from=8,typeTo=Vertex,to=16,decision=true]]
Move=[Move:mover=1,from=28,to=29,actions=[RememberValue:name=From,value=28],[Move:typeFrom=Vertex,from=28,typeTo=Vertex,to=29,decision=true],[Remove:type=Vertex,to=29],[ForgetValue:name=From,value=28]]
Move=[Move:mover=2,from=11,to=18,actions=[Move:typeFrom=Vertex,from=11,typeTo=Vertex,to=18,decision=true]]
Move=[Move:mover=1,from=27,to=30,actions=[Move:typeFrom=Vertex,from=27,typeTo=Vertex,to=30,decision=true]]
Move=[Move:mover=2,from=12,to=11,actions=[Move:typeFrom=Vertex,from=12,typeTo=Vertex,to=11,decision=true]]
Move=[Move:mover=1,from=30,to=31,actions=[Move:typeFrom=Vertex,from=30,typeTo=Vertex,to=31,decision=true]]
Move=[Move:mover=2,from=5,to=12,actions=[Move:typeFrom=Vertex,from=5,typeTo=Vertex,to=12,decision=true]]
Move=[Move:mover=1,from=31,to=30,actions=[Move:typeFrom=Vertex,from=31,typeTo=Vertex,to=30,decision=true]]
Move=[Move:mover=2,from=9,to=8,actions=[Move:typeFrom=Vertex,from=9,typeTo=Vertex,to=8,decision=true]]
Move=[Move:mover=1,from=30,to=31,actions=[Move:typeFrom=Vertex,from=30,typeTo=Vertex,to=31,decision=true]]
Move=[Move:mover=2,from=6,to=5,actions=[Move:typeFrom=Vertex,from=6,typeTo=Vertex,to=5,decision=true]]
Move=[Move:mover=1,from=31,to=28,actions=[Move:typeFrom=Vertex,from=31,typeTo=Vertex,to=28,decision=true]]
Move=[Move:mover=2,from=16,to=17,actions=[Move:typeFrom=Vertex,from=16,typeTo=Vertex,to=17,decision=true]]
Move=[Move:mover=1,from=28,to=31,actions=[Move:typeFrom=Vertex,from=28,typeTo=Vertex,to=31,decision=true]]
Move=[Move:mover=2,from=15,to=16,actions=[Move:typeFrom=Vertex,from=15,typeTo=Vertex,to=16,decision=true]]
Move=[Move:mover=1,from=31,to=30,actions=[Move:typeFrom=Vertex,from=31,typeTo=Vertex,to=30,decision=true]]
Move=[Move:mover=2,from=14,to=15,actions=[Move:typeFrom=Vertex,from=14,typeTo=Vertex,to=15,decision=true]]
Move=[Move:mover=1,from=30,to=28,actions=[Move:typeFrom=Vertex,from=30,typeTo=Vertex,to=28,decision=true]]
Move=[Move:mover=2,from=2,to=9,actions=[Move:typeFrom=Vertex,from=2,typeTo=Vertex,to=9,decision=true]]
Move=[Move:mover=1,from=28,to=29,actions=[Move:typeFrom=Vertex,from=28,typeTo=Vertex,to=29,decision=true]]
Move=[Move:mover=2,from=12,to=6,actions=[Move:typeFrom=Vertex,from=12,typeTo=Vertex,to=6,decision=true]]
Move=[Move:mover=1,from=29,to=32,actions=[Move:typeFrom=Vertex,from=29,typeTo=Vertex,to=32,decision=true]]
Move=[Move:mover=2,from=6,to=12,actions=[Move:typeFrom=Vertex,from=6,typeTo=Vertex,to=12,decision=true]]
Move=[Move:mover=1,from=32,to=29,actions=[Move:typeFrom=Vertex,from=32,typeTo=Vertex,to=29,decision=true]]
Move=[Move:mover=2,from=18,to=28,actions=[Move:typeFrom=Vertex,from=18,typeTo=Vertex,to=28,decision=true]]
Move=[Move:mover=1,from=29,to=32,actions=[RememberValue:name=From,value=29],[Move:typeFrom=Vertex,from=29,typeTo=Vertex,to=32,decision=true],[Remove:type=Vertex,to=32],[ForgetValue:name=From,value=29]]
LEGAL MOVES LIST SIZE = 6
LEGAL MOVES LIST SIZE = 9
LEGAL MOVES LIST SIZE = 8
LEGAL MOVES LIST SIZE = 15
LEGAL MOVES LIST SIZE = 2
LEGAL MOVES LIST SIZE = 19
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 23
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 18
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 14
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 12
LEGAL MOVES LIST SIZE = 6
LEGAL MOVES LIST SIZE = 13
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 15
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 12
LEGAL MOVES LIST SIZE = 5
LEGAL MOVES LIST SIZE = 17
LEGAL MOVES LIST SIZE = 2
LEGAL MOVES LIST SIZE = 23
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 17
LEGAL MOVES LIST SIZE = 3
winner=2
endtype=NaturalEnd
rankings=0.0,2.0,1.0
SANDBOX=false
LUDII_VERSION=1.1.19
93 changes: 93 additions & 0 deletions Player/res/random_trials/board/hunt/Asalto/RandomTrial_1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
game=../Common/res/lud/board/hunt/Asalto.lud
START GAME OPTIONS
END GAME OPTIONS
RNG internal state=-35,-27,78,-47,-106,-23,-15,-51
Move=[Move:mover=0,from=27,to=27,actions=[Add:type=Vertex,to=27,what=1]]
Move=[Move:mover=0,from=29,to=29,actions=[Add:type=Vertex,to=29,what=1]]
Move=[Move:mover=0,from=0,to=0,actions=[Add:type=Vertex,to=0,what=2]]
Move=[Move:mover=0,from=1,to=1,actions=[Add:type=Vertex,to=1,what=2]]
Move=[Move:mover=0,from=2,to=2,actions=[Add:type=Vertex,to=2,what=2]]
Move=[Move:mover=0,from=3,to=3,actions=[Add:type=Vertex,to=3,what=2]]
Move=[Move:mover=0,from=4,to=4,actions=[Add:type=Vertex,to=4,what=2]]
Move=[Move:mover=0,from=5,to=5,actions=[Add:type=Vertex,to=5,what=2]]
Move=[Move:mover=0,from=6,to=6,actions=[Add:type=Vertex,to=6,what=2]]
Move=[Move:mover=0,from=7,to=7,actions=[Add:type=Vertex,to=7,what=2]]
Move=[Move:mover=0,from=8,to=8,actions=[Add:type=Vertex,to=8,what=2]]
Move=[Move:mover=0,from=9,to=9,actions=[Add:type=Vertex,to=9,what=2]]
Move=[Move:mover=0,from=10,to=10,actions=[Add:type=Vertex,to=10,what=2]]
Move=[Move:mover=0,from=11,to=11,actions=[Add:type=Vertex,to=11,what=2]]
Move=[Move:mover=0,from=12,to=12,actions=[Add:type=Vertex,to=12,what=2]]
Move=[Move:mover=0,from=13,to=13,actions=[Add:type=Vertex,to=13,what=2]]
Move=[Move:mover=0,from=14,to=14,actions=[Add:type=Vertex,to=14,what=2]]
Move=[Move:mover=0,from=15,to=15,actions=[Add:type=Vertex,to=15,what=2]]
Move=[Move:mover=0,from=19,to=19,actions=[Add:type=Vertex,to=19,what=2]]
Move=[Move:mover=0,from=20,to=20,actions=[Add:type=Vertex,to=20,what=2]]
Move=[Move:mover=0,from=21,to=21,actions=[Add:type=Vertex,to=21,what=2]]
Move=[Move:mover=0,from=22,to=22,actions=[Add:type=Vertex,to=22,what=2]]
Move=[Move:mover=0,from=23,to=23,actions=[Add:type=Vertex,to=23,what=2]]
Move=[Move:mover=0,from=24,to=24,actions=[Add:type=Vertex,to=24,what=2]]
Move=[Move:mover=0,from=25,to=25,actions=[Add:type=Vertex,to=25,what=2]]
Move=[Move:mover=0,from=26,to=26,actions=[Add:type=Vertex,to=26,what=2]]
Move=[Move:mover=1,from=29,to=18,actions=[Move:typeFrom=Vertex,from=29,typeTo=Vertex,to=18,decision=true]]
Move=[Move:mover=2,from=9,to=16,actions=[Move:typeFrom=Vertex,from=9,typeTo=Vertex,to=16,decision=true]]
Move=[Move:mover=1,from=18,to=28,actions=[RememberValue:name=From,value=27],[Move:typeFrom=Vertex,from=18,typeTo=Vertex,to=28,decision=true],[Remove:type=Vertex,to=27],[ForgetValue:name=From,value=27]]
Move=[Move:mover=2,from=10,to=9,actions=[Move:typeFrom=Vertex,from=10,typeTo=Vertex,to=9,decision=true]]
Move=[Move:mover=1,from=28,to=30,actions=[Move:typeFrom=Vertex,from=28,typeTo=Vertex,to=30,decision=true]]
Move=[Move:mover=2,from=11,to=10,actions=[Move:typeFrom=Vertex,from=11,typeTo=Vertex,to=10,decision=true]]
Move=[Move:mover=1,from=30,to=31,actions=[Move:typeFrom=Vertex,from=30,typeTo=Vertex,to=31,decision=true]]
Move=[Move:mover=2,from=10,to=17,actions=[Move:typeFrom=Vertex,from=10,typeTo=Vertex,to=17,decision=true]]
Move=[Move:mover=1,from=31,to=32,actions=[Move:typeFrom=Vertex,from=31,typeTo=Vertex,to=32,decision=true]]
Move=[Move:mover=2,from=3,to=10,actions=[Move:typeFrom=Vertex,from=3,typeTo=Vertex,to=10,decision=true]]
Move=[Move:mover=1,from=32,to=29,actions=[Move:typeFrom=Vertex,from=32,typeTo=Vertex,to=29,decision=true]]
Move=[Move:mover=2,from=12,to=11,actions=[Move:typeFrom=Vertex,from=12,typeTo=Vertex,to=11,decision=true]]
Move=[Move:mover=1,from=29,to=18,actions=[Move:typeFrom=Vertex,from=29,typeTo=Vertex,to=18,decision=true]]
Move=[Move:mover=2,from=20,to=12,actions=[Move:typeFrom=Vertex,from=20,typeTo=Vertex,to=12,decision=true]]
Move=[Move:mover=1,from=18,to=20,actions=[RememberValue:name=From,value=18],[Remove:type=Vertex,to=19],[Move:typeFrom=Vertex,from=18,typeTo=Vertex,to=20,decision=true],[ForgetValue:name=From,value=18]]
Move=[Move:mover=2,from=16,to=28,actions=[Move:typeFrom=Vertex,from=16,typeTo=Vertex,to=28,decision=true]]
Move=[Move:mover=1,from=20,to=19,actions=[Move:typeFrom=Vertex,from=20,typeTo=Vertex,to=19,decision=true]]
Move=[Move:mover=2,from=28,to=18,actions=[Move:typeFrom=Vertex,from=28,typeTo=Vertex,to=18,decision=true]]
Move=[Move:mover=1,from=19,to=20,actions=[Move:typeFrom=Vertex,from=19,typeTo=Vertex,to=20,decision=true]]
Move=[Move:mover=2,from=8,to=16,actions=[Move:typeFrom=Vertex,from=8,typeTo=Vertex,to=16,decision=true]]
Move=[Move:mover=1,from=20,to=19,actions=[Move:typeFrom=Vertex,from=20,typeTo=Vertex,to=19,decision=true]]
Move=[Move:mover=2,from=18,to=28,actions=[Move:typeFrom=Vertex,from=18,typeTo=Vertex,to=28,decision=true]]
Move=[Move:mover=1,from=19,to=20,actions=[Move:typeFrom=Vertex,from=19,typeTo=Vertex,to=20,decision=true]]
Move=[Move:mover=2,from=10,to=3,actions=[Move:typeFrom=Vertex,from=10,typeTo=Vertex,to=3,decision=true]]
Move=[Move:mover=1,from=20,to=19,actions=[Move:typeFrom=Vertex,from=20,typeTo=Vertex,to=19,decision=true]]
Move=[Move:mover=2,from=4,to=10,actions=[Move:typeFrom=Vertex,from=4,typeTo=Vertex,to=10,decision=true]]
Move=[Move:mover=1,from=19,to=18,actions=[Move:typeFrom=Vertex,from=19,typeTo=Vertex,to=18,decision=true]]
Move=[Move:mover=2,from=3,to=4,actions=[Move:typeFrom=Vertex,from=3,typeTo=Vertex,to=4,decision=true]]
Move=[Move:mover=1,from=18,to=19,actions=[RememberValue:name=From,value=18],[Move:typeFrom=Vertex,from=18,typeTo=Vertex,to=19,decision=true],[Remove:type=Vertex,to=19],[ForgetValue:name=From,value=18]]
LEGAL MOVES LIST SIZE = 6
LEGAL MOVES LIST SIZE = 5
LEGAL MOVES LIST SIZE = 6
LEGAL MOVES LIST SIZE = 11
LEGAL MOVES LIST SIZE = 7
LEGAL MOVES LIST SIZE = 12
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 10
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 14
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 14
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 14
LEGAL MOVES LIST SIZE = 3
LEGAL MOVES LIST SIZE = 12
LEGAL MOVES LIST SIZE = 1
LEGAL MOVES LIST SIZE = 22
LEGAL MOVES LIST SIZE = 1
LEGAL MOVES LIST SIZE = 14
LEGAL MOVES LIST SIZE = 1
LEGAL MOVES LIST SIZE = 19
LEGAL MOVES LIST SIZE = 2
LEGAL MOVES LIST SIZE = 24
LEGAL MOVES LIST SIZE = 1
LEGAL MOVES LIST SIZE = 27
LEGAL MOVES LIST SIZE = 2
LEGAL MOVES LIST SIZE = 24
LEGAL MOVES LIST SIZE = 3
winner=2
endtype=NaturalEnd
rankings=0.0,2.0,1.0
SANDBOX=false
LUDII_VERSION=1.1.19
Loading

0 comments on commit 4e9a188

Please sign in to comment.