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 isntall 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.0.tar.gz (63.0 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

chipgr8-0.1.0-cp36-cp36m-macosx_10_9_x86_64.whl (76.3 kB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: chipgr8-0.1.0.tar.gz
  • Upload date:
  • Size: 63.0 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.0.tar.gz
Algorithm Hash digest
SHA256 546b7bb95916aed8f3a4a1c998ad744d4907acd1d21a6d2a90024d43ef39f588
MD5 9edff69a3484b964b1f3f853e0709520
BLAKE2b-256 0ad7495b64ee59aa44533a946342fc32c563ed15c9c027508e60a9c8ec0b62ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chipgr8-0.1.0-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.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 deabc62899036d17f59ed52c74ba88a6c75fd369c179ccdd6c43b42568046e58
MD5 5c07d87deebdd3c126b7b4bef08c519f
BLAKE2b-256 f4ffb80d8578c5badd1fbcd3c4de12dbf83b7688f033ae9bc36a92d333db7375

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chipgr8-0.1.0-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.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 171fd251447e157f199270bf544e7448c9510bc42b113d82bc0a698157de8e7c
MD5 813d793378d78b62599ecee28fada8ff
BLAKE2b-256 603cd11b28472d53f31c067fd8ac84aba6ad76ba554a90a2da401ea7d651e68e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chipgr8-0.1.0-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.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e3bc08e8b0537326dc3bd21a49f89c775ca97326f3b1a5c5d2003ef35bd6bf82
MD5 b20c9d8a904c0b9a21a0da289655fc42
BLAKE2b-256 a33358d660523d7facd5206ab4a5b1e65e6d4052fb16d71d36fefaba3db1a46c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chipgr8-0.1.0-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.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 ff1c4cc740305c5de04d42abcafcc6369e5668fce253920f3125872fce19b994
MD5 51b470a969da3ad917da68eb78240e07
BLAKE2b-256 f71c464db358d184dacbcb44dbecfea1270dc8bdc4fe9aa5c40a3764c5972b31

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chipgr8-0.1.0-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 76.3 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.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dd51db98b03766982898e83c2a75057fb4eced068b94597e7acd845bb68b6131
MD5 39c52dc4a109a6800522e3b2d56fa01c
BLAKE2b-256 a0dfd92921d7de25348692e016be4f0612065a656ca20d9d01a57c330ba2d445

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