icypc_instructions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| icypc_instructions [2010/11/11 13:18] – jtkorb | icypc_instructions [2011/11/08 11:54] (current) – jtkorb | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * '' | * '' | ||
| * etc | * etc | ||
| + | - Naming convention: Please do not use '' | ||
| - Be sure to make them executable (again, '' | - Be sure to make them executable (again, '' | ||
| - | - Register program(s) at ladder website: [[http://pc2.cs.purdue.edu:8000/ladder]] | + | - Register program(s) at ladder website: [[https://pc.cs.purdue.edu/ |
| + | - To help with some automation to locate competitors, | ||
| A quick way to ensure that your icypc directory and all files are world-readable and (where appropriate) world-executable: | A quick way to ensure that your icypc directory and all files are world-readable and (where appropriate) world-executable: | ||
| Line 17: | Line 19: | ||
| Note that this command makes everything in your '' | Note that this command makes everything in your '' | ||
| + | |||
| + | You might find it useful to create subdirectories in '' | ||
| + | |||
| + | ====== Ladder Rules ====== | ||
| + | |||
| + | - Any time a challenger beats a defender, the two competitors swap positions in the ladder. | ||
| + | - If a challenger scores 0 points in a match, that competitor is // | ||
| ====== Script Examples ====== | ====== Script Examples ====== | ||
| **'' | **'' | ||
| - | #!/bin/bash | + | #!/bin/sh |
| cd / | cd / | ||
| / | / | ||
| **'' | **'' | ||
| - | #!/bin/bash | + | #!/bin/sh |
| cd / | cd / | ||
| c++_example/ | c++_example/ | ||
| | | ||
| - | ====== | + | ====== |
| - | - Use setup as above. | + | You can view a replay of any ladder match. (Trace files are kept in '' |
| - | - Example | + | |
| - | | + | |
| - | There is an example " | + | % /homes/cs390cp/bin/view2d NNN |
| - | | + | |
| - | + | ||
| - | Also, see the " | + | |
| - | ====== Viewing Instructions ====== | + | % / |
| - | * To view in 2D ('' | + | * To view the stdout from the match: |
| - | % / | + | % / |
| - | * To view in 3D ('' | + | * To view the stderr from the match: |
| - | % / | + | % / |
| + | |||
| + | |||
| + | ====== To Play a " | ||
| + | |||
| + | - Use setup as above. | ||
| + | - Example (with assumed student/ | ||
| + | |||
| + | % java -jar icypc.jar -player pipe 1 / | ||
| + | |||
| + | There is an example " | ||
| + | |||
| + | % / | ||
| | | ||
| - | Note that 3D viewing works in the Linux lab (LWSN B158), but not (currently) | + | Also, see the " |
icypc_instructions.1289510327.txt.gz · Last modified: 2010/11/11 13:18 by jtkorb