CodeCombat-机动火炮

this.moveXY(30, 26);  // Move into range
this.attackXY(46, 5);  // Shoot once in the middle of the ogres

// If they survive a hit, ogres retaliate!
// Larger ogres take more than one hit...
// So, position and aim carefully.
this.moveXY(66, 32);
this.attackXY(70, 56); 
this.attackXY(70, 46); 
this.moveXY(70, 56);
this.attackXY(49, 66); 
this.attackXY(60, 66); 

游戏截图:


你可能感兴趣的:(CodeCombat-机动火炮)