Skip to content

An implementation of a CHIP-8 emulator in Python.

Notifications You must be signed in to change notification settings

misa-j/chip8-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHIP-8 emulator

An implementation of a CHIP-8 emulator in Python.

Demo

Space Invaders

Tetris

Running the project

Linux

  1. Create a virtual environment.
python -m venv .venv
  1. Activate a virtual environment.
source .venv/bin/activate
  1. Install the Pygame library.
pip install pygame
  1. Or install dependencies from the requirements file; this will include dev dependencies also.
pip install -r requirements.txt
  1. Run the emulator.
python main.py /path/to/your/rom

e.g.

python main.py ./ROMs/1-chip8-logo.ch8

Windows

  1. Create a virtual environment.
python -m venv .venv
  1. Activate a virtual environment.
.venv\Scripts\activate

After creating a virtual environment and activating it, you should install the Pygame library or all dependencies from the requirements file (steps 3. and 4).

Find more ROMs

You can find more ROMs here, or by simply googling "chip8 roms".

About

An implementation of a CHIP-8 emulator in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages