(g, out_fname, args=None)
Writes the game to a .p8 file.

    If the original was a .p8.png file, this converts it to a .p8 file.

    If the original was a .p8 file, this just echos the game data into a new
    file. (This is mostly useful to validate the picotool library.)

    Args:
      g: The Game.
      out_fname: The output filename.
      args: The argparse parsed args object, or None.
Writes the game to a .p8 file.
Writes the game to a . p8 file .
def writep8(g, out_fname, args=None):
    """Writes the game to a .p8 file.

    If the original was a .p8.png file, this converts it to a .p8 file.

    If the original was a .p8 file, this just echos the game data into a new
    file. (This is mostly useful to validate the picotool library.)

    Args:
      g: The Game.
      out_fname: The output filename.
      args: The argparse parsed args object, or None.
    """
    file.to_file(g, filename=out_fname)
def writep8 ( g , out_fname , args = None ) : file . to_file ( g , filename = out_fname )