User Tools

Site Tools


icypc_instructions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
icypc_instructions [2011/11/01 14:21] jtkorbicypc_instructions [2011/11/08 11:54] (current) jtkorb
Line 7: Line 7:
     * ''~/icypc/planter''     * ''~/icypc/planter''
     * etc     * etc
 +  - Naming convention: Please do not use ''-'' or ''.'' characters in your script names (just alphanumerics).
   - Be sure to make them executable (again, ''chmod 755'' will do it)   - Be sure to make them executable (again, ''chmod 755'' will do it)
   - Register program(s) at ladder website: [[https://pc.cs.purdue.edu/icypc]]   - Register program(s) at ladder website: [[https://pc.cs.purdue.edu/icypc]]
 +  - To help with some automation to locate competitors, please ensure that the only executable files in ''~/icypc'' are competitor scripts.
  
 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 ''icypc'' directory readable, including source code if it is there. Note that this command makes everything in your ''icypc'' directory readable, including source code if it is there.
 +
 +You might find it useful to create subdirectories in ''~/icypc'' (or elsewhere) to contain your source code and a working copy of your binaries (e.g., .class files for Java).  Then, when you've sufficiently debugged your competitor and want to take on other players on the ladder, copy your binaries to the ''~/icypc'' directory for execution by your competitor script.
 +
 +====== 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 //benched//, making it unavailable for future matches until it has been //readied// again for competition (e.g., by resubmitting it by the original author).
  
 ====== Script Examples ====== ====== Script Examples ======
icypc_instructions.1320182506.txt.gz · Last modified: 2011/11/01 14:21 by jtkorb