Skip to content

Commit

Permalink
Update readme and generate script
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwalters committed Mar 15, 2021
1 parent cca5156 commit 921f18a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ A few openings have already been generated and included in this repo, they are i
These opening studies have also been uploaded to [listudy](https://listudy.org/en/profile/CROM), where you can use
spaced repetition to memorize the opening lines.

# Create your own

Make a folder `games`, and put the input PGNs you want to use. The games
from [https://database.nikonoel.fr/](https://database.nikonoel.fr/) are recomended.

Then modify `generate.sh` to include the opening you want to generate for, then run `generate.sh`. You must have first
built the project JAR with:

```bash
./gradlew clean build jar
```

# License

CROM is licensed under GPL version 3.
Expand Down
16 changes: 8 additions & 8 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generate_opening_analysis() {
echo "Color perspective: $2"

java -jar build/libs/crom-*.jar \
--game-limit=50000 \
--game-limit=10000 \
--half-move-depth=30 \
--cutoff-threshold=10 \
--min-rating=2400 \
Expand Down Expand Up @@ -65,7 +65,7 @@ mkdir openings
#generate_both_opening_analysis "Bongcloud Attack"
#generate_both_opening_analysis "Borg Defense"
#generate_both_opening_analysis "Bronstein Gambit"
# generate_both_opening_analysis "Caro-Kann Defense"
generate_both_opening_analysis "Caro-Kann Defense"
#generate_both_opening_analysis "Carr Defense"
#generate_both_opening_analysis "Colle System"
#generate_both_opening_analysis "Creepy Crawly Formation"
Expand Down Expand Up @@ -93,7 +93,7 @@ generate_both_opening_analysis "French Defense"
#generate_both_opening_analysis "King's Pawn"
#generate_both_opening_analysis "Latvian Gambit"
#generate_both_opening_analysis "Lion Defense"
# generate_both_opening_analysis "London System"
generate_both_opening_analysis "London System"
#generate_both_opening_analysis "Marienbad System"
#generate_both_opening_analysis "Mexican Defense"
#generate_both_opening_analysis "Mikenas Defense"
Expand All @@ -112,18 +112,18 @@ generate_both_opening_analysis "French Defense"
#generate_both_opening_analysis "Pirc Defense"
#generate_both_opening_analysis "Polish Defense"
#generate_both_opening_analysis "Pterodactyl Defense"
# generate_both_opening_analysis "Queen's Gambit"
generate_both_opening_analysis "Queen's Gambit"
#generate_both_opening_analysis "Queen's Indian"
#generate_both_opening_analysis "Queen's Pawn"
#generate_both_opening_analysis "Rapport-Jobava System"
#generate_both_opening_analysis "Rat Defense"
#generate_both_opening_analysis "Richter-Veresov Attack"
#generate_both_opening_analysis "Robatsch Defense"
# generate_both_opening_analysis "Ruy Lopez"
generate_both_opening_analysis "Ruy Lopez"
#generate_both_opening_analysis "Scandinavian Defense"
# generate_both_opening_analysis "Semi-Slav Defense"
# generate_both_opening_analysis "Sicilian Defense"
# generate_both_opening_analysis "Slav Defense"
generate_both_opening_analysis "Semi-Slav Defense"
generate_both_opening_analysis "Sicilian Defense"
generate_both_opening_analysis "Slav Defense"
#generate_both_opening_analysis "Slav Indian"
#generate_both_opening_analysis "Sodium Attack"
#generate_both_opening_analysis "St. George Defense"
Expand Down

0 comments on commit 921f18a

Please sign in to comment.