Hero of the Core X23402


Statement
 

pdf   zip

html
Public test cases
  • Input

    3 3
    0 1 h
    0 0 c
    1 1 e
    1 2 t
    .
    2 2
    1 1
    0 -1
    

    Output

    Game Status:
    c h _ 
    _ e t 
    _ _ _ 
    [Enemy heroes left=1][Current weapons=0]
    Can't move that distance! (2,2)
    c h _ 
    _ e t 
    _ _ _ 
    [Enemy heroes left=1][Current weapons=0]
    c _ _ 
    _ e h 
    _ _ _ 
    [Enemy heroes left=1][Current weapons=1]
    c _ _ 
    _ h _ 
    _ _ _ 
    [Enemy heroes left=0][Current weapons=0]
    You have cleaned the battle arena! Congratulations!
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Java
    User solutions