Giter Site home page Giter Site logo

crab-chip's Introduction

Crab Chip

CHIP-8 emulator for Windows & MacOS written in Rust

Preview

Game: "Space Invaders" by David Winter

Download

You can get the emulator from the releases tab for 64-bit Windows and Intel Mac devices.

Games

The release comes packaged with a few games. Many more are available to download from the CHIP-8 ROM archive and elsewhere on the internet as freeware. Select the game you'd like to play by editing the settings.yaml file. All games are loaded from the roms folder.

Controls

The CHIP-8 uses a hexadecimal keypad for input. These are mapped as such on a QWERTY keyboard:

     CHIP-8                      Computer
   Hex Keypad                    Keyboard

.---.---.---.---.            .---.---.---.---.
| 1 | 2 | 3 | C |            | 1 | 2 | 3 | 4 |
.---.---.---.---.            .---.---.---.---.
| 4 | 5 | 6 | D |            | Q | W | E | R |
.---.---.---.---.     ->     .---.---.---.---.
| 7 | 8 | 9 | E |            | A | S | D | F |
.---.---.---.---.            .---.---.---.---.
| A | 0 | B | F |            | Z | X | C | V |
.---.---.---.---.            .---.---.---.---.

Each game uses it's own control scheme, so if you're unsure how a game works then play around with the keys to see what each one does.


Disclaimer

I'm not a Rust expert. There are almost certainly more idiomatic approaches to implementation, so keep that in mind while reading the code.

Development Resources

crab-chip's People

Contributors

darylpinto avatar jkoudys 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.