Skip to content

Add more commands #5

@Anonymous4045

Description

@Anonymous4045

This tool is great for automating some of the process of playing through everyone's games. However, I believe it should go a bit further.

One hassle I have each PyWeek is setting up each game to run correctly. There's all these conventions and suggestions, such as having a requirements.txt and a run_game.py, but these are often overlooked or incorrectly implemented by the developer. It would be very nice if we had a standard way to check that a zip file is correctly formed. I think a "verify" command for this tool can do just that.

Additionally, I'd like to propose that this tool has the functionality to also extract, and try to run, each entry. If all (realistically not all, but hopefully some) developers make sure their games are in the correct format with the verify command, the people who play the games should be able to run it with simply "pyweek play (entrant name)". Then the tool can extract the game, set up the venv, install the requirements, show the readme, and run the game.

I believe I can implement all of these features if this is approved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions