Instructions to use getSTEAV/system-one-games with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use getSTEAV/system-one-games with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download tetris/example.json from getSTEAV/system-one-games: direct link, hf CLI and curl.
- Browser
- Download file 893 Bytes
-
https://huggingface.co/getSTEAV/system-one-games/resolve/main/tetris/example.json
- Command line
-
hf download hf://getSTEAV/system-one-games/tetris/example.json
-
curl -L -o example.json https://huggingface.co/getSTEAV/system-one-games/resolve/main/tetris/example.json
893 Bytes
| { | |
| "state": "Tetris 10x20. Piece=L; next=T. Column heights=[3,2,2,1,2,0,1,1,1,3]; holes=0. r=clockwise rotation,c=left column (0-based). Facts: L=lines cleared,E=lines*piece cells cleared,A=landing height; R=row transitions,C=column transitions,H=holes after,W=well depth sum.", | |
| "question": { | |
| "type": "choice", | |
| "description": "Choose the placement to clear lines and keep playing.", | |
| "options": [ | |
| { | |
| "id": "r0c6", | |
| "description": "r0c6: L0 E0 A2 R42 C20 H0 W4" | |
| }, | |
| { | |
| "id": "r3c4", | |
| "description": "r3c4: L1 E1 A1.5 R44 C20 H0 W1" | |
| }, | |
| { | |
| "id": "r2c5", | |
| "description": "r2c5: L1 E1 A1 R42 C20 H0 W2" | |
| }, | |
| { | |
| "id": "r1c7", | |
| "description": "r1c7: L0 E0 A2.5 R46 C20 H0 W3" | |
| }, | |
| { | |
| "id": "r1c1", | |
| "description": "r1c1: L0 E0 A3.5 R46 C20 H0 W5" | |
| } | |
| ] | |
| } | |
| } | |