private Position findPlayer(ArrayList<String> board) throws Exception
    {
        for (int y = 0; y < board.size(); ++y)
        {
            for (int x = 0; x < board.get(y).length(); ++x)
            {
                char c = board.get(y).charAt(x);
                if (c == '@' || c == '+')
                    return new Position(x, y);
            }
        }
        throw new Exception("Could not find the player in the board");
    }