home *** CD-ROM | disk | FTP | other *** search
/ ftp.uni-stuttgart.de/pub/systems/acorn/ / Acorn.tar / Acorn / acornet / fun / games / corewars.spk / !CoreInfo / Info / Colours < prev    next >
Text File  |  1990-11-01  |  3KB  |  64 lines

  1.  
  2.  
  3.  COLOURS
  4.  -------
  5.  
  6.  This file details the colour scheme used in !Corewars during the execution
  7. of the programs.
  8.  
  9.  The colours used follow a logical pattern, with the two sides having a base
  10. colour of green and red accordingly.
  11.  
  12.  
  13.  Each cell has its own particular colour, which is determined in the follow-
  14. ing manner:
  15.  
  16.  If a cell has not been altered or overwritten in any way, it is black (def-
  17. ault).
  18.  
  19.  If a cell has been overwritten (bombed) by the green side, it is set to dark
  20. green, and vice versa for the red side.
  21.  
  22.  If a cell has just been executed, a tint of blue is added to the base colour
  23. of each side, ie. a cell executed by green is set to cyan (green+blue) and 
  24. set to magenta if executed by red (red+blue).
  25.  
  26.  If a cell has been protected, the colour already present in the cell is made
  27. brighter in tone, but remains the same base colour. ie. a dark magenta cell
  28. (executed by red) when protected by the green side is turned into a bright
  29. magenta cell. However, if a cell is black before protection, it is given the
  30. same base colour as the side protecting it, ie a black cell protected by red
  31. turns to a bright red colour (see file 'commands' about command PCT).
  32.  
  33.  When a cell is deprotected by being written to, a similar rule is followed,
  34. where the colour of the cell is preserved, but the colour is toned down, ie.
  35. a bright green cell written to by the red side turns into a dark green col-
  36. our (See section 'commands' about command PCT).
  37.  
  38.  In addition, when a cell is being executed, and <ctrl> is being held down,
  39. or single stepping is enabled, the current cell being executed is either a
  40. very bright green for a green execution, and a bright pink colour for a red
  41. execution.
  42.  
  43.  In summary:
  44.  
  45.  Cell colour                  Meaning
  46. ----------------------------------------------------------------------------
  47.  Black                        Unaltered
  48.  Dark Green                   Over-written by green
  49.  Dark Red                     Over-written by red
  50.  Dark Cyan                    Executed by green
  51.  Dark Magenta                 Executed by red
  52.  Bright Green                 Over-written by green and protected
  53.  Bright Red                   Over-written by red and protected
  54.  Bright Cyan                  Executed by green and protected
  55.  Bright Magenta               Executed by red and protected
  56.  Very Bright Green            Green executing
  57.  Bright Pink                  Red executing
  58.  
  59.  
  60.  This extensive system is intended as a guide to interested programmers who
  61. wish to see the full execution of their programs, and want to know everything
  62. that is going on. Admittedly, a typical Corewars battle may look very
  63. confusing at times as a result.
  64.