Coder Social home page Coder Social logo

janpoonthong / chip8_emulator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 905 KB

Chip-8 emulator in Python -> Pong, Space Invaders, Tetris, Pac-Man and many more

License: MIT License

Python 100.00%
python3 chip8-emulator pygame space-invaders pac-man pong tetris

chip8_emulator's Introduction

Chip-8 Emulator

Chip-8 is a simple, interpreted, programming language which was first used on some do-it-yourself computer systems.

Demonstration of chip-8 emulator

Games allow on Chip-8 Emulator

Pong, Space Invaders, Tetris, Pac-Man and many more.

Download Chip-8 games

Requirements

Linux and macOS only

Prerequisites:

Dowload

$ sudo apt-get install python3-pygame (Linux)
$ sudo apt-get install python3-tk (Linux)
$ python3 -m pip install -U pygame --user (MacOS)

Run

$ python3 chip8.py

Windows

Prerequisites:

Dowload

$ pip3 install pygame

Run

$ python3 chip8.py

chip8_emulator's People

Contributors

janpoonthong avatar

Stargazers

 avatar

Watchers

 avatar

chip8_emulator's Issues

Looks like optional parameter is not optional

$ python chip8.py c8games/15PUZZLE 
pygame 2.0.1 (SDL 2.0.14, Python 3.7.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "chip8.py", line 48, in <module>
    renderer = Renderer(scale=number_of_scale)
  File "/tmp/chip8_emulator/renderer.py", line 12, in __init__
    self.width = self.cols * scale
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.