Advertisement
plirof2

CSSCGC Tape Collector SRCv001e4_Essential Edition_adventuron.js

Oct 20th, 2023 (edited)
773
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. #
  3. # CSSCGC Entry sorter SRC v001e4 adventuron.js csscgc COLLECTOR essential EDITION
  4. #
  5. # Changes:
  6. # v231024 : v001e1- on_tick check
  7. # v231020b : Added check for item location ,8bit: changed tape names to "Tape t123"
  8. # v231020a : ok generated objects.
  9. # v231019 : initial version
  10. #
  11. # ToDO:
  12. # - Generate code that each tape is in the correct year room!
  13. # - Limit is 250 better make it 100
  14. # solution: // solution essential edition # GET ALL,S,GET ALL,S,GET ALL,N,N,W,UP,E,DROP TAPE T1,E,DROP TAPE T2,DROP TAPE T3,E,E,E,DROP TAPE T5,DROP TAPE T13,E,DROP TAPE T16,DROP TAPE T19,W,W,W,W,W,W,D,E,S,E,GET ALL,S,GET ALL,W,N,N,W,U,DROP TAPE T7,DROP TAPE T9,DROP TAPE T11,E,DROP TAPE T4,E,E,E,E,DROP TAPE T1,DROP ALL,W,W,W,W,W,D,E,S,S,E,N,W,W,GET ALL,E,N,W,U,DROP TAPE T6,DROP TAPE T8,DROP TAPE T12,E,E,E,E,E,DROP TAPE T10,DROP TAPE T20,E,DROP TAPE T15
  15. start_at = outside_door
  16. #
  17. # Room 2008 - [Next Year Rooms]
  18. #    |
  19. # warehouse -outside_door
  20. #                 |
  21. # bedroom - Living_room - guest_room
  22. #                 |
  23. #           dining_room - bathroom
  24. #
  25. #
  26.  
  27. #Objective: collect all games and put each one in the specific year room
  28. #
  29. #
  30.  
  31. ## Defines locations in the world
  32.  
  33. locations {
  34.    warehouse      : location "You are by the side of a beautiful lake.Your warehouse is here." ;
  35.    outside_door  : location "You aoutside of your home. The entrance lies north." ;
  36.    treasure_room : location "You are in a room of treasures." ;
  37.    living_room : location "You are in your living room";
  38.    bedroom : location "You are in your bedroom";
  39.    guest_room : location "You are in your guest room";
  40.    dining_room : location "You are in your dining room";
  41.    bathroom : location "You are in your bathroom. It's design is amazing. It must have been designed with the help of 10D Bathroom Design by Firelord!!!";
  42.    room_2008 : location "You are in the CSSCGC 2008 Tape Storage Room.You have {number_of_tapes_in_2008} tapes lying on the floor.";  
  43.    room_2009 : location "You are in the CSSCGC 2009 Tape Storage Room.You have {number_of_tapes_in_2009} tapes lying on the floor.";
  44.    room_2010 : location "You are in the CSSCGC 2010 Tape Storage Room.You have {number_of_tapes_in_2010} tapes lying on the floor.";  
  45.    room_2018 : location "You are in the CSSCGC 2019 Tape Storage Room.You have {number_of_tapes_in_2018} tapes lying on the floor.";
  46.    room_2020 : location "You are in the CSSCGC 2020 Tape Storage Room.You have {number_of_tapes_in_2020} tapes lying on the floor.";  
  47.    room_2021 : location "You are in the CSSCGC 2021 Tape Storage Room.You have {number_of_tapes_in_2021} tapes lying on the floor.";  
  48.    room_2022 : location "You are in the CSSCGC 2022 Tape Storage Room.You have {number_of_tapes_in_2022} tapes lying on the floor.";
  49.    room_2023 : location "You are in the CSSCGC 2023 Tape Storage Room.You have {number_of_tapes_in_2023} tapes lying on the floor.";        
  50. }
  51.  
  52. # Defines things in the world (scenery cannot be carried)
  53.  
  54. objects {
  55.    apple          : object  "an apple" msg="Delicious." at = "room_2023";
  56.    troll          : scenery "an enormous troll"  at = "outside_door" msg="Hungry.";
  57.  
  58.  
  59.  
  60.  
  61.   t1         : object  "Tape t1: Sinclair Blind Flight Simulator(2009)" msg="Tape t1 by Firelord (CSSCGC 2009)" at = "dining_room";
  62.   t2         : object  "Tape t2: Spectrum Blind Flight Simulator 2 - Flying The Plane(2010)" msg="Tape t2 by Firelord (CSSCGC 2010)" at = "living_room";
  63.   t3         : object  "Tape t3: Spectrum XAMPP(2010)" msg="Tape t3 by Firelord (CSSCGC 2010)" at = "outside_door";
  64.   t4         : object  "Tape t4: Crap Games Competition - The Adventure 3009(2009)" msg="Tape t4 by Firelord (CSSCGC 2009)" at = "guest_room";
  65.   t5         : object  "Tape t5: Bathroom 10D Design!(2022)" msg="Tape t5 by Firelord (CSSCGC 2022)" at = "outside_door";
  66.   t6         : object  "Tape t6: Deadly Warriors The Adventure(2008)" msg="Tape t6 by Firelord (CSSCGC 2008)" at = "bedroom";
  67.   t7         : object  "Tape t7: GOD Simulator 2008(2008)" msg="Tape t7 by Firelord (CSSCGC 2008)" at = "bathroom";
  68.   t8         : object  "Tape t8: LOST 2008 - The Adventure(2008)" msg="Tape t8 by Firelord (CSSCGC 2008)" at = "bedroom";
  69.   t9         : object  "Tape t9: Redefine Keys The Adventure 2008(2008)" msg="Tape t9 by Firelord (CSSCGC 2008)" at = "bathroom";
  70.   t10         : object  "Tape t10: Buy a Retro Machine and Sell it for More Money in Another Place Simulator!(2022)" msg="Tape t10 by Firelord (CSSCGC 2022)" at = "bedroom";
  71.   t11         : object  "Tape t11: Crap Games Competition - The Adventure 2008(2008)" msg="Tape t11 by Firelord (CSSCGC 2008)" at = "guest_room";
  72.   t12         : object  "Tape t12: Starting Next CSSCGC Server Simulator(2008)" msg="Tape t12 by Firelord (CSSCGC 2008)" at = "bedroom";
  73.   t13         : object  "Tape t13: Put the C to CRAP(2022)" msg="Tape t13 by Firelord (CSSCGC 2022)" at = "outside_door";
  74.   t14         : object  "Tape t14: Top Gun 2: Maverick Dangerous!(2022)" msg="Tape t14 by Firelord (CSSCGC 2022)" at = "bathroom";
  75.   t15         : object  "Tape t15: Many In One Games(2023)" msg="Tape t15 by Firelord (CSSCGC 2023)" at = "bedroom";
  76.   t16         : object  "Tape t16: The Real Adventures of Dr Robbie Pssst(2023)" msg="Tape t16 by Firelord (CSSCGC 2023)" at = "outside_door";
  77.   t17         : object  "Tape t17: The Adventures Of The Real Cookie Man(2022)" msg="Tape t17 by Firelord (CSSCGC 2022)" at = "guest_room";
  78.   t18         : object  "Tape t18: Idle Billionaire(2022)" msg="Tape t18 by Firelord (CSSCGC 2022)" at = "bathroom";
  79.   t19         : object  "Tape t19: The Real Adventures of Pacman(2023)" msg="Tape t19 by Firelord (CSSCGC 2023)" at = "outside_door";
  80.   t20         : object  "Tape t20: ZX Universe Conquest 2022(2022)" msg="Tape t20 by Firelord (CSSCGC 2022)" at = "bedroom";
  81.    
  82. }
  83.    
  84. connections {
  85.  
  86.    ## Connects locations together (bidirectional)
  87.    
  88.    from, direction, to = [
  89.       warehouse,     east, outside_door
  90.       outside_door, north, treasure_room,
  91.       outside_door, south ,living_room,
  92.       living_room, south ,dining_room,
  93.       bathroom, west ,dining_room,
  94.       bathroom, north ,guest_room,
  95.       living_room, west ,bedroom,
  96.       living_room, east ,guest_room,
  97.       warehouse,up,room_2008,
  98.       room_2008,east,room_2009,
  99.       room_2009,east,room_2010,
  100.       room_2010,east,room_2020,
  101.       room_2020,east,room_2021,
  102.       room_2021,east,room_2022,
  103.       room_2022,east,room_2023,
  104.    ]
  105. }
  106.  
  107. barriers {
  108.  
  109.    ## Blocks Access To Cave Whilst Troll Exists (with message)
  110.    
  111.    block_cave : block {
  112.       location           = treasure_room
  113.       message            = The troll is guarding the cave.
  114.       block_when_exists  = troll
  115.       show_blocked_exit  = true
  116.    }
  117.    
  118. #   shed_door : door {
  119. #      from  = garden
  120. #      to    = shed
  121. #      key   = shed_key
  122. #   }  
  123.    
  124. }
  125.  
  126. integers {
  127.    x : integer "1" ;
  128.    y : integer "1" ;
  129.    
  130.     score : integer "0" ;
  131.     number_of_tapes_in_2008 : integer "0";
  132.     number_of_tapes_in_2009 : integer "0";
  133.     number_of_tapes_in_2010 : integer "0";
  134.     number_of_tapes_in_2018 : integer "0";
  135.     number_of_tapes_in_2019 : integer "0";                      // 0 is default, 0 is min
  136.     number_of_tapes_in_2020  : integer "0" ;            // 0 is default, 0 is min, 100 is max
  137.     number_of_tapes_in_2021  : integer "0" ;            // 0 is default, 0 is min, 100 is max
  138.     number_of_tapes_in_2022  : integer "0" ;
  139.     number_of_tapes_in_2023  : integer "0" ;        
  140. }
  141.  
  142. ## Print the objective when the game starts
  143.  
  144. on_startup {
  145.    : print "CSSCGC Collector Adventures - The Essential Edition!" ;
  146.    : print "" ;
  147.    : print "by Firelord Quality Games! (c)2023" ;
  148.    : print "" ;
  149.    : print "" ;
  150.    : print "(CSSCGC = comp.sys.sinclair Crap Games Competition) " ;  
  151.    
  152.    : press_any_key ;
  153.    : clear_screen;
  154.    : print "You are a CSSCGC judge, reviewer and historian. " ;  
  155.    : print "As a CSSCGC Game reviewer and historian, you sought help from various forums -like WOS and SC - to archive CSSCGC Game entries. You had this brilliant, albeit somewhat quirky, idea: ask all the contestants to send their entries to your home in good old audio tape format. " ;
  156.    : press_any_key ;  
  157.    : print "And so, the tapes began to pour in." ;  
  158.    : press_any_key ;      
  159.    : print "Everything was under control until that one fateful day when your wife had had enough and decided to leave you. The reason? Your house had become a tape-filled maze. Tapes on the kitchen table, tapes on the couch, even tapes in the bathroom - your dedication to retro gaming had taken over your home. " ;  
  160.    : press_any_key ;  
  161.  
  162.    : print "After some serious contemplation, you realized that the real issue wasn't your love for CSSCGC games but the abundance of tapes taking over your living space. With determination in your heart, you headed straight to the bank the next morning." ;
  163.    : press_any_key ;  
  164.  
  165.  
  166.    : print "The bank teller couldn't hide their surprise when you asked for a substantial loan, but they approved it, and you soon became the proud owner of a warehouse. Finally, a solution to your overflowing tape problem was in sight. With the loan, you transformed the warehouse into a mecca for CSSCGC game tapes." ;
  167.    : press_any_key ;  
  168.  
  169.  
  170.    : print "From that day forward, it was a sight to behold. Every room of the warehouse was carefully organized and labelled and was ready to be filled with tapes.";
  171.  
  172.    : print "Now, you could transfer them from your home to the spacious rooms of the warehouse." ;
  173.  
  174.  
  175.    : print "The important day has come! You are prepared! Every corner of the warehouse was carefully organized, and you were ready to begin the epic task of transferring the tapes from your home to the spacious rooms of the warehouse. The sight of neatly stacked tapes filled you with a sense of purpose and excitement as you stood on the threshold of a new chapter in your retro gaming journey! That's the life of a dedicated retro gamer and CSSCGC historian" ;
  176.    : press_any_key ;  
  177.    : print "OBJECTIVE:" ;  
  178.    : print "You must transfer all tapes to their specific warehouse room . You can carry 10 tapes each times." ;  
  179.    : print "LOCATE THE TAPES, SORT THE CRAP!" ;
  180.    : press_any_key ;
  181. }
  182.  
  183. ## Execute this every time a player moves or redescribes a location
  184.  
  185. on_describe {
  186.    : if (is_at "treasure_room" ) {
  187.       : print "CONGRATULATIONS YOU FOUND THE TREASURE. YOU WIN!" ;
  188.       : win_game ;
  189.    }
  190. }
  191.  
  192. ## Test VERB NOUN that the player types and executes conditional actions
  193.  
  194. on_command {
  195.    : match "give apple"  {
  196.       : if (is_present "troll" && is_carried "apple") {
  197.          : print   "The troll eats the apple then wanders off." ;
  198.          : destroy "apple" ;
  199.          : destroy "troll" ;
  200.       }
  201.    }
  202.    : match "score _"  {
  203.       // Note that CONTROL + SPACE only works on blank lines in these blocks
  204.       : print {(
  205.          "Your score is " +
  206.          score +
  207.          "."
  208.       )}
  209.    }  
  210.    : match "test _"  {
  211.       : print "Start match" ;
  212.       //: set_integer var = "x"  value = "1" ;
  213.       /*
  214.          : set_integer var = "number_of_tapes_in_2008"  value = "0" ;
  215.          : set_integer var = "number_of_tapes_in_2009"  value = "0" ;
  216.          : set_integer var = "number_of_tapes_in_2010"  value = "0" ;
  217.          : set_integer var = "number_of_tapes_in_2020"  value = "0" ;
  218.          : set_integer var = "number_of_tapes_in_2021"  value = "0" ;
  219.          : set_integer var = "number_of_tapes_in_2022"  value = "0" ;
  220.          : set_integer var = "number_of_tapes_in_2023"  value = "0" ;
  221.        */  
  222.               : set_integer var = "number_of_tapes_in_2008"  value = "0" ;
  223.       : set_integer var = "number_of_tapes_in_2009"  value = "0" ;
  224.       : set_integer var = "number_of_tapes_in_2010"  value = "0" ;
  225.       : set_integer var = "number_of_tapes_in_2020"  value = "0" ;
  226.       : set_integer var = "number_of_tapes_in_2021"  value = "0" ;
  227.       : set_integer var = "number_of_tapes_in_2022"  value = "0" ;
  228.       : set_integer var = "number_of_tapes_in_2023"  value = "0" ;
  229.  
  230.          : set_integer var = "y"  value = "1" ;
  231.          
  232.          : print {(x + " x ")};
  233.  
  234.  
  235.          : increment"x";
  236.  
  237.           : if (is_within_direct { outer = "room_2009" inner = "t1" }) {
  238.         : print "t1 is in room_2009" ;
  239.         : increment"number_of_tapes_in_2009";
  240.       }
  241.   : if (is_within_direct { outer = "room_2010" inner = "t2" }) {
  242.         : print "t2 is in room_2010" ;
  243.         : increment"number_of_tapes_in_2010";
  244.       }
  245.   : if (is_within_direct { outer = "room_2010" inner = "t3" }) {
  246.         : print "t3 is in room_2010" ;
  247.         : increment"number_of_tapes_in_2010";
  248.       }
  249.   : if (is_within_direct { outer = "room_2009" inner = "t4" }) {
  250.         : print "t4 is in room_2009" ;
  251.         : increment"number_of_tapes_in_2009";
  252.       }
  253.   : if (is_within_direct { outer = "room_2022" inner = "t5" }) {
  254.         : print "t5 is in room_2022" ;
  255.         : increment"number_of_tapes_in_2022";
  256.       }
  257.   : if (is_within_direct { outer = "room_2008" inner = "t6" }) {
  258.         : print "t6 is in room_2008" ;
  259.         : increment"number_of_tapes_in_2008";
  260.       }
  261.   : if (is_within_direct { outer = "room_2008" inner = "t7" }) {
  262.         : print "t7 is in room_2008" ;
  263.         : increment"number_of_tapes_in_2008";
  264.       }
  265.   : if (is_within_direct { outer = "room_2008" inner = "t8" }) {
  266.         : print "t8 is in room_2008" ;
  267.         : increment"number_of_tapes_in_2008";
  268.       }
  269.   : if (is_within_direct { outer = "room_2008" inner = "t9" }) {
  270.         : print "t9 is in room_2008" ;
  271.         : increment"number_of_tapes_in_2008";
  272.       }
  273.   : if (is_within_direct { outer = "room_2022" inner = "t10" }) {
  274.         : print "t10 is in room_2022" ;
  275.         : increment"number_of_tapes_in_2022";
  276.       }
  277.   : if (is_within_direct { outer = "room_2008" inner = "t11" }) {
  278.         : print "t11 is in room_2008" ;
  279.         : increment"number_of_tapes_in_2008";
  280.       }
  281.   : if (is_within_direct { outer = "room_2008" inner = "t12" }) {
  282.         : print "t12 is in room_2008" ;
  283.         : increment"number_of_tapes_in_2008";
  284.       }
  285.   : if (is_within_direct { outer = "room_2022" inner = "t13" }) {
  286.         : print "t13 is in room_2022" ;
  287.         : increment"number_of_tapes_in_2022";
  288.       }
  289.   : if (is_within_direct { outer = "room_2022" inner = "t14" }) {
  290.         : print "t14 is in room_2022" ;
  291.         : increment"number_of_tapes_in_2022";
  292.       }
  293.   : if (is_within_direct { outer = "room_2023" inner = "t15" }) {
  294.         : print "t15 is in room_2023" ;
  295.         : increment"number_of_tapes_in_2023";
  296.       }
  297.   : if (is_within_direct { outer = "room_2023" inner = "t16" }) {
  298.         : print "t16 is in room_2023" ;
  299.         : increment"number_of_tapes_in_2023";
  300.       }
  301.   : if (is_within_direct { outer = "room_2022" inner = "t17" }) {
  302.         : print "t17 is in room_2022" ;
  303.         : increment"number_of_tapes_in_2022";
  304.       }
  305.   : if (is_within_direct { outer = "room_2022" inner = "t18" }) {
  306.         : print "t18 is in room_2022" ;
  307.         : increment"number_of_tapes_in_2022";
  308.       }
  309.   : if (is_within_direct { outer = "room_2023" inner = "t19" }) {
  310.         : print "t19 is in room_2023" ;
  311.         : increment"number_of_tapes_in_2023";
  312.       }
  313.   : if (is_within_direct { outer = "room_2022" inner = "t20" }) {
  314.         : print "t20 is in room_2022" ;
  315.         : increment"number_of_tapes_in_2022";
  316.       }
  317.  
  318.  
  319.          /*
  320.          : print {(" number_of_tapes_in_2008 : " + number_of_tapes_in_2008)};
  321.          : print {(" number_of_tapes_in_2009 : " + number_of_tapes_in_2009)};
  322.          : print {(" number_of_tapes_in_2010 : " + number_of_tapes_in_2010)};
  323.          : print {(" number_of_tapes_in_2020 : " + number_of_tapes_in_2020)};
  324.          : print {(" number_of_tapes_in_2021 : " + number_of_tapes_in_2021)};
  325.          : print {(" number_of_tapes_in_2022 : " + number_of_tapes_in_2022)};
  326.          : print {(" number_of_tapes_in_2023 : " + number_of_tapes_in_2023)};                          
  327.          */
  328.          
  329.           : print {(" number_of_tapes_in_2008 : " + number_of_tapes_in_2008)};
  330.       : print {(" number_of_tapes_in_2009 : " + number_of_tapes_in_2009)};
  331.       : print {(" number_of_tapes_in_2010 : " + number_of_tapes_in_2010)};
  332.       : print {(" number_of_tapes_in_2020 : " + number_of_tapes_in_2020)};
  333.       : print {(" number_of_tapes_in_2021 : " + number_of_tapes_in_2021)};
  334.       : print {(" number_of_tapes_in_2022 : " + number_of_tapes_in_2022)};
  335.       : print {(" number_of_tapes_in_2023 : " + number_of_tapes_in_2023)};
  336.  
  337.  
  338.  
  339.  
  340.  
  341.   : if(     (number_of_tapes_in_2008>=6) &&
  342.       (number_of_tapes_in_2009>=2) &&
  343.       (number_of_tapes_in_2010>=2) &&
  344.       (number_of_tapes_in_2020>=0) &&
  345.       (number_of_tapes_in_2021>=0) &&
  346.       (number_of_tapes_in_2022>=7) &&
  347.       (number_of_tapes_in_2023>=3)  ) { :  print "You WON - All tapes are in place!" ;}
  348.  
  349.       : print "End match" ;
  350.    }  
  351.    
  352. }
  353.  
  354. on_tick {
  355.  
  356.       : set_integer var = "number_of_tapes_in_2008"  value = "0" ;
  357.       : set_integer var = "number_of_tapes_in_2009"  value = "0" ;
  358.       : set_integer var = "number_of_tapes_in_2010"  value = "0" ;
  359.       : set_integer var = "number_of_tapes_in_2020"  value = "0" ;
  360.       : set_integer var = "number_of_tapes_in_2021"  value = "0" ;
  361.       : set_integer var = "number_of_tapes_in_2022"  value = "0" ;
  362.       : set_integer var = "number_of_tapes_in_2023"  value = "0" ;
  363.  
  364.  
  365.   : if (is_within_direct { outer = "room_2009" inner = "t1" }) {
  366.         : increment"number_of_tapes_in_2009";
  367.       }
  368.   : if (is_within_direct { outer = "room_2010" inner = "t2" }) {
  369.         : increment"number_of_tapes_in_2010";
  370.       }
  371.   : if (is_within_direct { outer = "room_2010" inner = "t3" }) {
  372.         : increment"number_of_tapes_in_2010";
  373.       }
  374.   : if (is_within_direct { outer = "room_2009" inner = "t4" }) {
  375.         : increment"number_of_tapes_in_2009";
  376.       }
  377.   : if (is_within_direct { outer = "room_2022" inner = "t5" }) {
  378.         : increment"number_of_tapes_in_2022";
  379.       }
  380.   : if (is_within_direct { outer = "room_2008" inner = "t6" }) {
  381.         : increment"number_of_tapes_in_2008";
  382.       }
  383.   : if (is_within_direct { outer = "room_2008" inner = "t7" }) {
  384.         : increment"number_of_tapes_in_2008";
  385.       }
  386.   : if (is_within_direct { outer = "room_2008" inner = "t8" }) {
  387.         : increment"number_of_tapes_in_2008";
  388.       }
  389.   : if (is_within_direct { outer = "room_2008" inner = "t9" }) {
  390.         : increment"number_of_tapes_in_2008";
  391.       }
  392.   : if (is_within_direct { outer = "room_2022" inner = "t10" }) {
  393.         : increment"number_of_tapes_in_2022";
  394.       }
  395.   : if (is_within_direct { outer = "room_2008" inner = "t11" }) {
  396.         : increment"number_of_tapes_in_2008";
  397.       }
  398.   : if (is_within_direct { outer = "room_2008" inner = "t12" }) {
  399.         : increment"number_of_tapes_in_2008";
  400.       }
  401.   : if (is_within_direct { outer = "room_2022" inner = "t13" }) {
  402.         : increment"number_of_tapes_in_2022";
  403.       }
  404.   : if (is_within_direct { outer = "room_2022" inner = "t14" }) {
  405.         : increment"number_of_tapes_in_2022";
  406.       }
  407.   : if (is_within_direct { outer = "room_2023" inner = "t15" }) {
  408.         : increment"number_of_tapes_in_2023";
  409.       }
  410.   : if (is_within_direct { outer = "room_2023" inner = "t16" }) {
  411.         : increment"number_of_tapes_in_2023";
  412.       }
  413.   : if (is_within_direct { outer = "room_2022" inner = "t17" }) {
  414.         : increment"number_of_tapes_in_2022";
  415.       }
  416.   : if (is_within_direct { outer = "room_2022" inner = "t18" }) {
  417.         : increment"number_of_tapes_in_2022";
  418.       }
  419.   : if (is_within_direct { outer = "room_2023" inner = "t19" }) {
  420.         : increment"number_of_tapes_in_2023";
  421.       }
  422.   : if (is_within_direct { outer = "room_2022" inner = "t20" }) {
  423.         : increment"number_of_tapes_in_2022";
  424.       }
  425.  
  426.   : if((number_of_tapes_in_2008>=6) &&
  427.       (number_of_tapes_in_2009>=2) &&
  428.       (number_of_tapes_in_2010>=2) &&
  429.       (number_of_tapes_in_2020>=0) &&
  430.       (number_of_tapes_in_2021>=0) &&
  431.       (number_of_tapes_in_2022>=7) &&
  432.       (number_of_tapes_in_2023>=3)  ) {
  433.       :  print "You WON - All tapes are in place!" ;
  434.       : win_game ;
  435.       }
  436.  // :  print "on tick" ;
  437.  
  438.  
  439. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement