{"repo":"Baekalfen/PyBoy","free":true,"listed":false,"github":"https://github.com/Baekalfen/PyBoy","clone":"git clone https://github.com/Baekalfen/PyBoy.git","description":"Game Boy emulator written in Python","language":"Python","stars":5186,"topics":["gameboy","emulator","pypy","python","gameboy-emulator","gameboy-emulator-library","cython"],"license":null,"category":"dev-tools","readme_excerpt":"If you have any questions, or just want to chat, join us on Discord. Train RL agents to play Pokemon Red Rewind any game Play the classics Create your own AI Beat world records with AI Getting Started =============== The instructions are simple: For details, see installation instructions. Now you're ready! Either use PyBoy directly from the terminal Or use it in your Python scripts: The API ======= If you are looking to make a bot or AI, then these resources are a good place to start: PyBoy API Documentation Wiki Pages Using PyBoy with Gym Example: Kirby Example: Tetris Example: Super Mario Land Code Examples Discord When the emulator is running, you can easily access PyBoy's API: The Wiki shows how to interface with PyBoy from your own project. Performance =========== Performance is a priority for PyBoy, to make your AI training and scripts as fast as possible. The easiest way to improve your performance, is to skip rendering of unnecessary frames. If you know your character takes X frames to move, or the game doesn't take input every frame, you can skip those to potentially triple your performance. All game logic etc. will still process. Here is a simple comparison of rendering every frame, rendering every 15th frame, and not rendering any frames (higher is better). See pyboy.tick for how it works. Your performance will depend on the game. Full rendering Frame-skip 15 No rendering x124 realtime x344 realtime x395 realtime The Game Boy was originally running at 60 frames per","default_branch":null,"files":null,"tree":[],"storefront":"/r/Baekalfen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Baekalfen/PyBoy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}