public void runTest() {
        // update Game
        game.updateGame();
        // show current statistic
        setting = ("MATCH : " + game.getSetting().getMatchID());
        setting += "\n" + ("TEAM A : " + game.getSetting().getNameTeamA());
        setting += "\n" + ("TEAM B : " + game.getSetting().getNameTeamB());
        setting += "\n" + ("NUM OF TANK : " + game.getSetting().getNumOfTank());
        setting += "\n" + ("DEFAULT MONEY : " + game.getSetting().getDefaultMoney());
        setting += "\n" + ("NUM OF TURN : " + game.getSetting().getNumOfTurn());
         setting += "\n" + ("NUM OF TURN : " + game.getSetting().getNumOfTurn());
         
        setting += "\n\n" + ("========") + "\n\n" ;
        setting += "\n" + ("CURRENT BET TURN : " + game.getSetting().getCurrentBetTurn());
        setting += "\n" + ("MONEY TEAM A : " + game.getTeamA().getMoney());
        setting += "\n" + ("MONEY TEAM B: " + game.getTeamB().getMoney());
        setting += "\n" + ("GAME STATE : " + game.getSetting().getGameState());
        setting += "\n" + ("CURRENT TEAM ACTION : " + game.getSetting().getCurrentTeamAction());
        setting += "\n" + ("WINNER : " + game.getSetting().getWinner());
        
        betreportA = "TEAM A HISTORY BET\n";
        // show teams's history decision
        for (int i = 1; i < game.getSetting().getCurrentBetTurn() ; i++) {
            betreportA += i+ ". " + game.getTeamA().getDecisiontBet()[i].getPrice() + "\n";
        }
        betreportB = "TEAM B HISTORY BET\n";
        // show teams's history decision
        for (int i = 1; i < game.getSetting().getCurrentBetTurn() ; i++) {
            betreportB += i+ ". " + game.getTeamB().getDecisiontBet()[i].getPrice() + "\n";
        }

        // show teams's decisions
        decisionA = game.getTeamA().getDecisiontBet()[game.getSetting().getCurrentBetTurn() - 1].getPrice() + "";
        decisionB = game.getTeamB().getDecisiontBet()[game.getSetting().getCurrentBetTurn() - 1].getPrice() + "";
       
        //show placcing decision of teeams
       try{  
        int i = 0 ;
        placereportA= game.getTeamA().getTeamName()+"\n";
        
        // read teams's decision place
        while ( game.getTeamA().getDecisionPlace()[i]!=null ) {
            placereportA += "( "+ game.getTeamA().getDecisionPlace()[i].getPosition().getX() ; 
            placereportA += " ,  " + game.getTeamA().getDecisionPlace()[i].getPosition().getY() +")\n"; 
            i++;
        }
        
          i = 0 ; 
         placereportB= game.getTeamB().getTeamName()+"\n";
        // read teams's decision place
        while ( game.getTeamB().getDecisionPlace()[i]!=null ) {
            placereportB += "( "+ game.getTeamB().getDecisionPlace()[i].getPosition().getX() ; 
            placereportB +=" ,  " + game.getTeamB().getDecisionPlace()[i].getPosition().getY()  +")\n"; 
            i++;
        }
         }
       catch(Exception ex) {} 
       
       if ( game.getSetting().getGameState()== Setting.GAME_STATE.ACTION ) {
            BattleScreen bg = new BattleScreen(this.game);
        bg.setVisible(true);
       
       }
       // set tank info
       tankA="";
       for (int i =0; i < game.getTeamA().getNumOfTank(); i ++)
           tankA += (game.getTeamA().getTanks()[i].getAmor() + " " + game.getTeamA().getTanks()[i].getDamange() + " " + game.getTeamA().getTanks()[i].getAttackRange()) + "\n\n";
        tankB="";
       for (int  i =0; i < game.getTeamB().getNumOfTank(); i ++)
           tankB += (game.getTeamB().getTanks()[i].getAmor() + " " + game.getTeamB().getTanks()[i].getDamange() + " " + game.getTeamB().getTanks()[i].getAttackRange()) + "\n\n";
        
       
        this.txtSetting.setText(setting);
       
        this.txtDecisionA.setText(decisionA);
        this.txtDecisionB.setText(decisionB);
        this.txtBetReportA.setText(betreportA);
        this.txtBetReportB.setText(betreportB);
        this.txtPlaceReportA.setText(placereportA);
        this.txtPlaceReportB.setText(placereportB);
        this.txtTankA.setText(tankA);
        this.txtTankB.setText(tankB);
        
      
      
    
    }