PGZRUN(1)

✨ PGZRUN(1) β€” General Commands Manual ✨

okay bestie, welcome to the pgzrun page, it's giving "launcher energy" and honestly? iconic. πŸŽ€


🌸 NAME 🌸

pgzrun β€” run games written in Pygame Zero. that's it, that's the whole job. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

pgzrun [ gamefile ] [ arguments ]

like. you hand it a gamefile, you hand it some arguments, and it goes. simple as. ✨


πŸ’– DESCRIPTION πŸ’–

pgzrun runs a game written in Pygame Zero. yes literally, that's what it does, no cap. 🫢

Pygame Zero provides an environment in which new programmers can write games with Zero boilerplate. zero!! none!! the vibe check is passed every single time. 🌈

okay so here's the tea tho πŸ“ β€” it IS possible to write Pygame Zero games such that they can be run directly with python3, but doing so requires two whole lines of boilerplate, and bestie that's two lines too many:

  • import pgzrun at the start
  • pgzrun.go() at the end

and to meet the goal of zero boilerplate, a launcher is needed. which is... literally her. that's the whole reason she exists. main character behaviour honestly. πŸ‘‘πŸ’€


k that's the page!! mwah πŸ’‹

this has been the Debian edition of PGZRUN(1), dated 2018-06-21, straight from the General Commands Manual β€” go run a game, bestie, you got this πŸ§šβœ¨πŸ’œ