Skip to main content

Chip 8 Emulation for AI

Project description

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.

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

chipgr8-0.1.2.tar.gz (63.1 kB view details)

Uploaded Source

Built Distributions

chipgr8-0.1.2-py3.6-macosx-10.9-x86_64.egg (122.7 kB view details)

Uploaded Source

chipgr8-0.1.2-cp37-cp37m-win_amd64.whl (76.3 kB view details)

Uploaded CPython 3.7m Windows x86-64

chipgr8-0.1.2-cp37-cp37m-win32.whl (75.6 kB view details)

Uploaded CPython 3.7m Windows x86

chipgr8-0.1.2-cp36-cp36m-win_amd64.whl (76.3 kB view details)

Uploaded CPython 3.6m Windows x86-64

chipgr8-0.1.2-cp36-cp36m-win32.whl (75.6 kB view details)

Uploaded CPython 3.6m Windows x86

chipgr8-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl (73.8 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file chipgr8-0.1.2.tar.gz.

File metadata

  • Download URL: chipgr8-0.1.2.tar.gz
  • Upload date:
  • Size: 63.1 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

Hashes for chipgr8-0.1.2.tar.gz
Algorithm Hash digest
SHA256 64f92c16550d98757c811dab0344167a1d074bcea5ced430ece87f9bd0a8fdae
MD5 fdbf23de358967092b294850f25c5504
BLAKE2b-256 c10bb519fa1c965a47768fa65f25e2cc6597d3f2527c829be19a441562bba82c

See more details on using hashes here.

File details

Details for the file chipgr8-0.1.2-py3.6-macosx-10.9-x86_64.egg.

File metadata

  • Download URL: chipgr8-0.1.2-py3.6-macosx-10.9-x86_64.egg
  • Upload date:
  • Size: 122.7 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

Hashes for chipgr8-0.1.2-py3.6-macosx-10.9-x86_64.egg
Algorithm Hash digest
SHA256 d11c531ff72f2ec0a585fe444f829ccac07383e7338a3a1295daded32d549154
MD5 ef5df7ce287fe4ad29dc818044cb4194
BLAKE2b-256 9002f8dda2e08866144ba1494bebef92baf1811f9d41495c3a2b8964dd5902bf

See more details on using hashes here.

File details

Details for the file chipgr8-0.1.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: chipgr8-0.1.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 76.3 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

Hashes for chipgr8-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 d5054f1df9160fc7ec09260580711d7b2f5b05e56a89e200de4634046423414c
MD5 730d7e4612cb1d78d0832910c0dfcefd
BLAKE2b-256 4eb0745ba2df1f26ab55d6fee6a6ed81ae30c2ea07c101b07e0ad6224b22d06a

See more details on using hashes here.

File details

Details for the file chipgr8-0.1.2-cp37-cp37m-win32.whl.

File metadata

  • Download URL: chipgr8-0.1.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 75.6 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

Hashes for chipgr8-0.1.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 660b92aa666bb550c8ef6d2805c0490a9910bf71b0050418eaae7b6af4651c58
MD5 381390710ed513e1028ec9ab5b19ca0f
BLAKE2b-256 db9bb0625676a5822a09e7906a8b700aaecf654c7741c461d31151ddb278b3eb

See more details on using hashes here.

File details

Details for the file chipgr8-0.1.2-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: chipgr8-0.1.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 76.3 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

Hashes for chipgr8-0.1.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0b5304a8e4351ad00f5ab541c0babae0b1d0bdf0e1f48312103319bdc25ca293
MD5 c7f6f4c52a85daea1285e39ae3ba04c6
BLAKE2b-256 f09cf130ce188ccaf17721f45f0ce5778bb7d8101b0941d2771cddb8d79b22be

See more details on using hashes here.

File details

Details for the file chipgr8-0.1.2-cp36-cp36m-win32.whl.

File metadata

  • Download URL: chipgr8-0.1.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 75.6 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

Hashes for chipgr8-0.1.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 ab69f5458ef5fa3cbfa7bd9d4e2462a1aa99cc0f4ec1c509e6b31b37eca1051d
MD5 c888680712abd4996c5bd90f549ae9c5
BLAKE2b-256 e3cb39e81444c322f190cfe2f334efdb2f73b12fcd502b18f81fad7a5d03f520

See more details on using hashes here.

File details

Details for the file chipgr8-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: chipgr8-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 73.8 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

Hashes for chipgr8-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8881c6e00b802d9745227fe0aa8ad19332469821fe3f8b6ffff57474b3c7dc9d
MD5 cfc5c464639b0875d4705366ae971f5f
BLAKE2b-256 e43d042af965fb7c93016952243f6c68ba8c53e5a88c98a9531d3a419350abf6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page