BAT Coding Challenge Snippet #2

PHOTO EMBED

Tue Sep 03 2024 20:17:08 GMT+0000 (Coordinated Universal Time)

Saved by @TechBox #c++

    // Challenge Solution - Part #2 ------------------------------------------------------
    // Check to see if the cheating variable is below the cheating threshold
    // If it is, then call the "cheatingOpponent" function which you will create next
    if (pz <= cheatingPercentage){
      // Call the Cheating Function to find a target from Player 1's grid to hit. 
      cheatingOpponent();
    }
 
content_copyCOPY