def stringifyPlayMove(pos, modifiers, name="game"):
    """
    A utility method for automating getting code for playing moves.
    Helpful for generating code for testing particular cases of moves made.
    Can be used with things like the GUI or moves made by the QModels to replicate exact board states
        without having to manually place every piece.
    Parameters work in the same way as are passed to Game.play and Game.canPlay
    :param pos: The position of the piece to move
    :param modifiers: A 3-tuple of the modifiers (left, forward, jump) for the piece to move
    :param name: The variable name of the game that this play method call will use
    :return A string representing the code used to make the move
    """
    return name + ".play(" + str(pos) + ", " + str(modifiers) + ")"