How turbo-forcing/pygamelauncher works
PyGame Launcher is a Python CLI for browsing a built-in game market and managing locally installed GitHub games. Users enter commands through the command-line or interactive prompt; the CLI coordinates market lookup, security checks, installation/update/removal, and launch, while reporting version and game details. The single source file contains these responsibilities, including Git operations and SQLite-backed password protection. The excerpts show several direct calls, but omit parts of command dispatch and launch checks, so those links are not inferred beyond documented capabilities.
Main entry points: PyGameLauncher.py CLI command handler · games_security.db Password database
Components 10
CLI entry and commands
- CLI command handler
PyGameLauncher.py - Interactive prompt
PyGameLauncher.py
Market and game lifecycle
- Built-in game market
PyGameLauncher.py - Git game downloader
PyGameLauncher.py - Installed game files
PyGameLauncher.py
Security and environment
- Game password manager
PyGameLauncher.py
Other components
- CLI user
- Game process
- Password database
games_security.db - Classroom environment
Connections 13
- CLI user → CLI command handler: issues commands
README.md - CLI user → Interactive prompt: enters commands
README.md - Interactive prompt → CLI command handler: dispatches commands
PyGameLauncher.py - CLI command handler → Built-in game market: looks up games
PyGameLauncher.py - Built-in game market → Git game downloader: installs via Git
PyGameLauncher.py - Git game downloader → Installed game files: clones or updates
PyGameLauncher.py - CLI command handler → Git game downloader: updates and inspects
PyGameLauncher.py - CLI command handler → Installed game files: removes games
PyGameLauncher.py - CLI command handler → Game process: starts game script
PyGameLauncher.py - CLI command handler → Game password manager: manages passwords
PyGameLauncher.py - Game password manager → Password database: reads and writes
PyGameLauncher.py - CLI command handler → Classroom environment: checks environment
PyGameLauncher.py - CLI command handler → Game password manager: verifies safe mode
PyGameLauncher.py