Giter VIP home page Giter VIP logo

chip-8's Introduction

Chip 8 Emulator

Overview

This project is a Chip 8 emulator written in C. It faithfully emulates the Chip 8 architecture and allows you to play classic Chip 8 games.

Getting Started

Prerequisites

  • A C compiler (e.g., GCC)
  • CMake
  • SDL2 library for handling graphics and input

Building the Emulator

  1. Clone the repository:

    git clone https://github.com/anthonygedeon/chip8.git
    cd chip8
  2. Create a build directory and run CMake:

    mkdir build
    cd build
    cmake ..
  3. Compile the emulator:

    make

Running the Emulator

  1. Place your Chip 8 ROMs in the roms directory.

  2. Run the emulator with a ROM:

    ./chip8 roms/your-rom-file.ch8
  3. Or run the test roms in the test-roms directory

    ./chip8 test-roms/chip8-test-suite.ch8

Usage

  • Use the arrow keys to navigate the menu.
  • The keys 1-9 and A-F on your keyboard correspond to the Chip 8 keypad.

Acknowledgements

  • Thanks to all the Chip 8 community resources and documentation.
  • Inspired by various Chip 8 emulator projects available online.

Contributing

Feel free to submit pull requests or open issues if you find bugs or have suggestions for improvements.

Support Me

Give a โญ if this project was helpful in any way!

License

This project is licensed under the MIT License. See the LICENSE file for details.

chip-8's People

Contributors

anthonygedeon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.