Ad
  • Custom User Avatar

    i am having this error....
    /home/codewarrior/src/main/java/Kata.java:1: error: package org.apache.commons.lang does not exist
    import org.apache.commons.lang.ArrayUtils;
    ^
    1 error

    FAILURE: Build failed with an exception.

    • What went wrong:
      Execution failed for task ':compileJava'.

    Compilation failed; see the compiler error output for details.

  • Custom User Avatar

    The values you see are quantities of each value, not the value itself.
    Each "troop" has a specified value (in the description), you don't just add it up. You forgot to mutiply the corresponding value for each race, giving their final good score and final evil score.

    Example:
    
    Good                                           Evil
    -----                                          -----
         0 0 0 0 0 1                   /            0 0 0 1 1 1 0
            Wizard                     /       Goblin + Uruk Hai + Troll
              10                       /         2    +  3       +   5
              10                       /               10                           
    
    10 = 10 therefore it is a draw.
    
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution