Skip to main content

logo

Chip-Gr8 – Emulation for AI

Chip-Gr8 is a sandbox for creating AI Agents for retro video games like Pong, Breakout, and Space Invaders. Chip-Gr8 lets you interactively program AI agents, easily record their behaviour, collect data, pause and play their actions, and even play against them! If you have never programmed an AI before, Chip-Gr8 is a great place to start!

Installing

Chip-Gr8 is a Python package. Use pip to install it!

pip install chipgr8

Getting Started

If you want to play a game using Chip-Gr8, all you have to do is start it on the command line! For example, to play breakout you would run

python -m chipgr8 -r breakout

You will be greated by the Chip-Gr8 display and can start playing!

Creating an AI Agent is just as straightforward, just dropping the following code into your favorite text editor and you are ready to go!

import chipgr8
from chipgr8.games import Breakout

vm = chipgr8.init(display=True, ROM=Breakout.ROM)
while not vm.done():
    vm.act(Breakout.actions.left)

To find out more about Chip-Gr8, its API, included games, and more examples, download the Reference Manual, or head over to the docs!

Contact

Feel free to contact us with questions, bug reports, or feature requests at chipgr8.contact@gmail.com.

Metadata

Release files for chipgr8 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chipgr8 0.1.4
File Size Uploaded
chipgr8-0.1.4.tar.gz 158.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for chipgr8 0.1.4
File
chipgr8-0.1.4-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
chipgr8-0.1.4-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
chipgr8-0.1.4-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
chipgr8-0.1.4-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
chipgr8-0.1.4-cp36-cp36m-macosx_10_9_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 Details

Total release size: 988.9 kB

Release files / chipgr8-0.1.4.tar.gz

Download URL chipgr8-0.1.4.tar.gz
Size 158.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cb96486e6581d19676b1183ca9c211cfc3a2d9ae6fb4973d1c33b11aaaefb308
BLAKE2b-256 checksum
How to use checksums
98cbcd66fc061bc48527d14bd00e5d062dfa819f407ea1c0e5cfb420e3f8a803
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / chipgr8-0.1.4-cp37-cp37m-win_amd64.whl

Download URL chipgr8-0.1.4-cp37-cp37m-win_amd64.whl
Size 166.8 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
4a8cc9889482b1952d536bd293b294902602aac58aa0d80886c7e6ce383bf4f6
BLAKE2b-256 checksum
How to use checksums
629bc8ddeea456919c169cba622d9654cd3c1c66765af8ccad6882783641df14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / chipgr8-0.1.4-cp37-cp37m-win32.whl

Download URL chipgr8-0.1.4-cp37-cp37m-win32.whl
Size 166.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
c6c55766661476f759faf8955e60639594d5e1f4f5eec3151a00ccbd518aa68d
BLAKE2b-256 checksum
How to use checksums
0d0963cd9e084212e518ac151d75c1a054464f64caaa24ca2c3d0ae1d0f7a621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / chipgr8-0.1.4-cp36-cp36m-win_amd64.whl

Download URL chipgr8-0.1.4-cp36-cp36m-win_amd64.whl
Size 166.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
f5a422317b36aa10b6b6eee98cd904f0700b8abb1fc11ba38a27e6e2e715ab90
BLAKE2b-256 checksum
How to use checksums
1a6ebb7189cd18be3c380cff87dc7766d8a42286230e1ac124d0039cf8fc6484
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / chipgr8-0.1.4-cp36-cp36m-win32.whl

Download URL chipgr8-0.1.4-cp36-cp36m-win32.whl
Size 166.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
198fee4ad1455b8a2ca9e2fc6c9ccc4b0602b1323fa66907c9bdcf9090e4f074
BLAKE2b-256 checksum
How to use checksums
80e02cb1144bc8ccdc575d49b636d487edab4865ff88ee7f5fbd235e36c09c38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / chipgr8-0.1.4-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL chipgr8-0.1.4-cp36-cp36m-macosx_10_9_x86_64.whl
Size 164.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
03316d457207cd40792d3e68c6001174a6dd8b5c312dc7c4a08187de0dd9506c
BLAKE2b-256 checksum
How to use checksums
a816150733f506ce6752ed899297c25d10702101ffcf6bd4c8c9fe134f5290da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.4 This release

6 release files

0.1.3

6 release files

0.1.2

7 release files

0.1.1

6 release files

0.1.0

6 release files

0.0.2

7 release files

0.0.1

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page