pwmarcz / chiprs

CHIP-8 emulator in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chiprs - a CHIP-8 emulator in Rust

This is a simple project I'm writing to teach myself Rust. CHIP-8 is a virtual machine from the 1970s, used for running simple games. Here's the CHIP-8 technical specification.

cave connect4

Directory structure

Usage

You need to install Rust and Cargo. You'll also need the SDL2 library (something like libsdl2-dev).

cd chiprs-sdl
cargo run ../games/<game>.ch8

The keyboard layout is:

1 2↑ 3 C
4← 5 6→ D
7 8↓ 9 E
A 0 B F

License

By Paweł Marczewski pwmarcz@gmail.com.

Licensed under MIT (see LICENSE), except the games directory.

About

CHIP-8 emulator in Rust

License:MIT License


Languages

Language:Rust 100.0%