[ WP ] Write a story in JavaScript , C # , or another computer language .

# include < MadScientist.h > 
 // Note: we really need to rename this package - it should be MadEngineer. 
 # include < Hero.h > 
 # include < Henchmen.h > 
 # include < Fortress.h > 
 # include < Lasers.h > 
 # include < Rocket.h > 
 # include < Satellite.h > 
 
 # define N_HENCHMEN ( 100 ) 
 
 int main ( int argc, char *argv [ ] ) 
 { 
 MadScientist *villain = new MadScientist ( EvilGenius ); 
 Hero *hero = new Hero ( RandomSuperPower ); 
 Fortress *fortress = new Fortress ( SouthPacificIsland, Volcano ); 
 Henchmen *thugs = new Henchmen [ N_HENCHMEN ]; 
 Rocket *rocket = new Rocket ( ); 
 Satellite *sat = new Satellite ( ); 
 Laser *laser = new Laser ( SuperWeapon ); 
 sat- > attach ( laser ); 
 rocket- > attach ( sat ); 
 rocket- > prepare ( Launch ); 
 hero- > arrive ( fortress ); 
 hero- > dispatch ( thugs ); 
 villain- > startTimer ( LaunchRocket, 60/*seconds*/ ); 
 villain- > escape ( secretTunnel ); 
 hero- > destroy ( rocket ); 
 hero- > escape ( StandardEscape ); 
 fortress- > selfDestruct ( VolcanoEruption ); 
 /* Note: status of villain is indeterminate at this point. 
 * This can be seen as a bug or a feature. 
 */ 
 return 0; 
 } 
 // EDIT: Moved comment where it belonged.
