private static void getCommand() {
    	if(moves != 0){
    		achievement = score/moves;
    		//makes the achievement ratio rounded to the nearest two decimal places for neatness
    		long l = (int)Math.round(achievement * 100);  
    		achievement = score/moves;
    		score = score + 5;
        	
        }
    
        System.out.print("[" + moves + " moves, score " + score +"," + " Money "+ money.getAmount()+","+" achievement ratio " + achievement + "] " + "\n");
        
        Scanner inputReader = new Scanner(System.in);
        command = inputReader.nextLine();  // command is global.
    }