Buggy code:
public class AtaxxGame { AtaxxBoard curAB ; public AtaxxGame ( ) { } public void run ( ) { Scanner s = new Scanner ( System . in ) ; String nextStep ; boolean isAIWin = false ; boolean goodMove = false ; long tStart ; long tEnd ; long tDelta ; double elapsedSeconds ; int xSrc ; int ySrc ; int xDest ; int yDest ; int numberOfStep ; AtaxxBoard tempBoard = null ; tStart = System . currentTimeMillis ( ) ; Move m = new Move ( curAB , 0 , E_Player . Black , null ) ; tEnd = System . currentTimeMillis ( ) ; tDelta = tEnd - tStart ; elapsedSeconds = tDelta // 1000.0 ; System . out . println ( ( "Start<seq2seq4repair_space>game:\n" + ( curAB ) ) ) ; while ( ! ( HelperAtaxx . isGoalState ( curAB ) ) ) { m = m . getNextMove ( m . GetMaxOrMin ( ) ) ; curAB = m . current ; System . out . println ( "AI<seq2seq4repair_space>move:\n" ) ; System . out . println ( ( ( "Time<seq2seq4repair_space>of<seq2seq4repair_space>calc<seq2seq4repair_space>this<seq2seq4repair_space>move<seq2seq4repair_space>is:<seq2seq4repair_space>" + elapsedSeconds ) + "<seq2seq4repair_space>sec" ) ) ; System . out . println ( ( "Number<seq2seq4repair_space>of<seq2seq4repair_space>leaf:<seq2seq4repair_space>" + ( Move . numberOfLeaf ) ) ) ; <START_BUG> System . out . println ( ( ( ( ( ( ( ( "Move<seq2seq4repair_space>from:<seq2seq4repair_space>x-" + ( m . current . xsrc ) ) + "<seq2seq4repair_space>y-<seq2seq4repair_space>" ) + ( m . current . ydes ) ) + "<seq2seq4repair_space>To<seq2seq4repair_space>x-<seq2seq4repair_space>" ) + ( m . current . xdes ) ) + "<seq2seq4repair_space>y-<seq2seq4repair_space>" ) + ( m . current . ydes ) ) ) ; <END_BUG> System . out . println ( curAB ) ; if ( HelperAtaxx . isGoalState ( curAB ) ) { isAIWin = true ; System . out . println ( "AI<seq2seq4repair_space>Won<seq2seq4repair_space>the<seq2seq4repair_space>game<seq2seq4repair_space>:-(<seq2seq4repair_space>" ) ; break ; } while ( ! goodMove ) { try { System . out . println ( "Insert<seq2seq4repair_space>next<seq2seq4repair_space>step:<seq2seq4repair_space>" ) ; nextStep = s . nextLine ( ) ; String [ ] coordinates = nextStep . split ( ":" ) ; xSrc = Integer . parseInt ( coordinates [ 0 ] ) ; ySrc = Integer . parseInt ( coordinates [ 1 ] ) ; xDest = Integer . parseInt ( coordinates [ 2 ] ) ; yDest = Integer . parseInt ( coordinates [ 3 ] ) ; tempBoard = new AtaxxBoard ( curAB . board ) ; if ( ( curAB . board [ xSrc ] [ ySrc ] ) == ( HelperAtaxx . getSignOfPlayer ( White ) ) ) { numberOfStep = calcNumberOfStep ( xSrc , ySrc , xDest , yDest ) ; HelperAtaxx . applayMove ( tempBoard , xSrc , ySrc , xDest , yDest , numberOfStep , HelperAtaxx . getSignOfPlayer ( White ) , HelperAtaxx . getSignOfPlayer ( Black ) ) ; goodMove = HelperAtaxx . canGoToHuman ( curAB , xSrc , ySrc , White , tempBoard ) ; } if ( ! goodMove ) System . out . println ( "can<seq2seq4repair_space>do<seq2seq4repair_space>this<seq2seq4repair_space>move!" ) ; } catch ( Exception ex ) { System . out . println ( "Please<seq2seq4repair_space>insert<seq2seq4repair_space>step<seq2seq4repair_space>in<seq2seq4repair_space>this<seq2seq4repair_space>template:<seq2seq4repair_space>xSrc:ySrc:xDest:yDest<seq2seq4repair_space>\n" ) ; } } goodMove = false ; curAB = new AtaxxBoard ( tempBoard . board ) ; Move . numberOfLeaf = 0 ; tStart = System . currentTimeMillis ( ) ; m = new Move ( curAB , 0 , E_Player . Black , null ) ; tEnd = System . currentTimeMillis ( ) ; tDelta = tEnd - tStart ; elapsedSeconds = tDelta // 1000.0 ; System . out . println ( ( "current:\n<seq2seq4repair_space>" + ( curAB ) ) ) ; } if ( ! isAIWin ) System . out . println ( "You<seq2seq4repair_space>Won<seq2seq4repair_space>the<seq2seq4repair_space>game<seq2seq4repair_space>:-)<seq2seq4repair_space>" ) ; s . close ( ) ; } private int calcNumberOfStep ( int xSrc , int ySrc , int xDest , int yDest ) { } }

Fix:
System . out . println ( ( ( ( ( ( ( ( "Move<seq2seq4repair_space>from:<seq2seq4repair_space>x-" + ( m . current . xsrc ) ) + "<seq2seq4repair_space>y-<seq2seq4repair_space>" ) + ( m . current . ysrc ) ) + "<seq2seq4repair_space>To<seq2seq4repair_space>x-<seq2seq4repair_space>" ) + ( m . current . xdes ) ) + "<seq2seq4repair_space>y-<seq2seq4repair_space>" ) + ( m . current . ydes ) ) ) ;