mohammedhashim44 / Chip-8-Emualtor-with-Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chip 8 Emualtor with Python and Pygame

Python Version Used : 3.8
Libraries Used:
  • pygame : Version: 2.0.1

Resources and guides :

I used this project do debug my own : Python-CHIP8-Emulator

How to run:

  • In the prject directory type: python3 app.py games/maze.ch8

  • To change the game, instead of games/maze.ch8 just write any other game in games directory, e.g python3 app.py games/wall.ch8

  • To change the colors (colors in RGB), speed or size of screen : change these variables in chip8/constants.py:

    • BACKGROUND_COLOR = (61, 31, 43)
    • ACTIVE_COLOR = (255, 255, 255)
    • SCREEN_SCALE = 15
    • CLOCK_SPEED = 500
  • The control keys are: 1,2,3,4 Q,W,E,R A,S,D,F Z,X,C,V

  • To Change it ,change the my_keyboard_keys in chip8/keys.py, then run python3 app.py games/keypad_test.ch8 to make sure it's working.


Screenshots

About


Languages

Language:Python 100.0%