public String makeMove(String cmd)
        {
            String tokens[] = cmd.split(" ");
            int ambo;
            int player;

            if(tokens.length != 3)
            {
                return Errors.INVALID_PARAMS;
            }

            try
            {
                ambo = Integer.parseInt(tokens[1]);
                player = Integer.parseInt(tokens[2]);
            }
            catch(NumberFormatException ex)
            {
                return Errors.INVALID_PARAMS;
            }
            
            //Check if move is valid
            if (ambo < 1 || ambo > 6)
            {
                return Errors.INVALID_MOVE;
            }

            //Check if the correct player is
            //making the move
            if(player != game.getNextPlayer())
            {
                return Errors.WRONG_PLAYER;
            }

            //Check if the ambo is empty
            if(game.getSeeds(ambo, player) == 0)
            {
                return Errors.AMBO_EMPTY;
            }

            //Make the move!
            game.makeMove(ambo);
            g.addText("Move " + ambo + " by Player " + player);
            g.updateBoard(game);

            if(game.gameEnded())
            {
                g.addText("Player " + game.getWinner() + " won");
                g.updateBoard(game);
            }

            //Valid move
            return game.toString();
        }