A CLI tool to validate Python game code against the ARC game template structure.
Project description
arcvalidator
A CLI tool to validate Python game code against the ARC game template structure.
Installation
pip install arcvalidator
Usage
arcvalidator check game_file.py
arcvalidator check game_file.py --verbose
What it validates
- Required imports (random, struct, zlib, dataclasses, typing, gymnasium, numpy, arcengine)
- Arcengine imports (ActionInput, ARCBaseGame, Camera, GameAction, Level, RenderableUserDisplay, Sprite)
- Dataclasses (GameState, StepResult) with required fields
- HUD class extending RenderableUserDisplay
- Engine class extending ARCBaseGame with required methods
- PuzzleEnvironment class with required methods and attributes
- ArcGameEnv (Gymnasium wrapper) with required methods and attributes
- Engine super().init() call
- Inline tests (main block)
- Naming conventions (PascalCase classes, snake_case methods, UPPER_SNAKE constants)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arcvalidator-0.1.0.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arcvalidator-0.1.0.tar.gz.
File metadata
- Download URL: arcvalidator-0.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd4a4fae9c5f071d34a7eaca25037ec2b3ef1f0f9d7a716b439357d3a775d975
|
|
| MD5 |
c08ebe9096b8d955c9fc51410c6810b8
|
|
| BLAKE2b-256 |
edfcba65c3843a1f98bd36850e5d2942fb181c9d3ac6a4b58444f96329c16879
|
File details
Details for the file arcvalidator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arcvalidator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b99ccd3469b6674a0c5f62a479e72931932935150fd81862be3fcb05db3a8a7
|
|
| MD5 |
fc8e0f717dd3560051128cd185cb5e2e
|
|
| BLAKE2b-256 |
f7b9945b8a312be4b21569e1c22040a449ac15f2ec577cd4e8e09c416f929d7e
|