Chip 8 Emulation for AI
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file chipgr8-0.1.4.tar.gz
.
File metadata
- Download URL: chipgr8-0.1.4.tar.gz
- Upload date:
- Size: 158.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb96486e6581d19676b1183ca9c211cfc3a2d9ae6fb4973d1c33b11aaaefb308 |
|
MD5 | 287f8307ebb5fce26899f86e6ff3bc22 |
|
BLAKE2b-256 | 98cbcd66fc061bc48527d14bd00e5d062dfa819f407ea1c0e5cfb420e3f8a803 |
File details
Details for the file chipgr8-0.1.4-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: chipgr8-0.1.4-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 166.8 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8cc9889482b1952d536bd293b294902602aac58aa0d80886c7e6ce383bf4f6 |
|
MD5 | 4ff9abc1d18624bc15ae978488c3b1e2 |
|
BLAKE2b-256 | 629bc8ddeea456919c169cba622d9654cd3c1c66765af8ccad6882783641df14 |
File details
Details for the file chipgr8-0.1.4-cp37-cp37m-win32.whl
.
File metadata
- Download URL: chipgr8-0.1.4-cp37-cp37m-win32.whl
- Upload date:
- Size: 166.2 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c55766661476f759faf8955e60639594d5e1f4f5eec3151a00ccbd518aa68d |
|
MD5 | 8efa7d0d155390f7a1e0c2951dac3a04 |
|
BLAKE2b-256 | 0d0963cd9e084212e518ac151d75c1a054464f64caaa24ca2c3d0ae1d0f7a621 |
File details
Details for the file chipgr8-0.1.4-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: chipgr8-0.1.4-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 166.8 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5a422317b36aa10b6b6eee98cd904f0700b8abb1fc11ba38a27e6e2e715ab90 |
|
MD5 | 98af5dcfd2d1b892a422dc5199861752 |
|
BLAKE2b-256 | 1a6ebb7189cd18be3c380cff87dc7766d8a42286230e1ac124d0039cf8fc6484 |
File details
Details for the file chipgr8-0.1.4-cp36-cp36m-win32.whl
.
File metadata
- Download URL: chipgr8-0.1.4-cp36-cp36m-win32.whl
- Upload date:
- Size: 166.2 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 198fee4ad1455b8a2ca9e2fc6c9ccc4b0602b1323fa66907c9bdcf9090e4f074 |
|
MD5 | a406fc46d56ca2daa5fa9ea9fc56bc6d |
|
BLAKE2b-256 | 80e02cb1144bc8ccdc575d49b636d487edab4865ff88ee7f5fbd235e36c09c38 |
File details
Details for the file chipgr8-0.1.4-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: chipgr8-0.1.4-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 164.4 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03316d457207cd40792d3e68c6001174a6dd8b5c312dc7c4a08187de0dd9506c |
|
MD5 | d193ddeb44bd40f6c889b0795adf4845 |
|
BLAKE2b-256 | a816150733f506ce6752ed899297c25d10702101ffcf6bd4c8c9fe134f5290da |