Scientific calculations for competition
- cd siemens2014/siemens2014/src
- chmod a+x linuxRunner.sh
- ./linuxRunner.sh "relative/path/to/data.pgn"
- cd siemens2014\siemens2014\src
- windowsRunner.bat "relative\path\to\data.pgn"
Note: no longer need to use absolute path
- Open a file one of three ways:
- Press the 'Parse' button and select a file.
- Navigate to the 'Open' menu under 'File' and select a file.
- Press Ctrl+O and select a file.
- If you selected a .pgn file, follow this:
- The program will now parse the entire .pgn file. The parsing itself will not take long (relatively), but the calculating can take between 20-45 seconds per game. Plan accordingly.
- After this is done, you may view the games, their data and their graphs.
- To change games, press the double arrow buttons or press Ctrl+G and enter a number.
- To change turns, press the single arrow buttons or press Ctrl+P and enter a number.
- To find patterns, press the 'Find Patterns' button.
- Note: This will output in the console
- Note: This is not a done system
- To output to a .jsca file, press 'Write To File'
- If you selected a .jsca file, follow this:
- The program will now take a couple of seconds to do a preliminary parse.
- After this is done, you can follow 2-5 under the .pgn instructions.
- Additionally, under the game menu, you can select to view graphs only for certain games by entering the game IDs as comma separated values.
Fun fact: .JSCA stands for Joey Sam Chess Analysis.
With the exception of variable and move tags, all tags are formatted as such:
[Tag Name "Value"]
Variable tags and move tags ommit the quotation marks and instead have values enclosed within square brackets with values separated by commas.
This is a list of all required tags and their definition:
- GameID - an integer that is assigned to each game as an identifier. This must be unique.
- WinType - a string describing how the winner won (not who) (can be draw).
- Winner - an integer (0, 1, or 2) identifing who won.
- WhiteTime - how much time white took (double).
- BlackTime - how much time black took (double).
- TimeAllowed - how much time was allotted to each player.
- PlyCount - the total number of plies.
A variable tag's name is the type of variable. Instead of a value inside of quotation marks, a variable tag's data is within two square brackes as comma separated values. Example:
[WhitePieceCount [16, 16, 16, 15, 15, 0]]
There are no requirements on quantity or type of variables. Note: moves are considered variables and must be put last followed by a blank line.