BafS / chip8

Chip8 emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CHIP-8 Emulator

Chip 8 emulator coded in PHP 8, using Symfony "Console" package.

Run in the terminal

  • composer i
  • ./bin/chip8 <yourgame.ch8>

The default keyboard layout was mapped as follows:

native:      emulator:

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

Tests

  • ./vendor/bin/phpunit tests/ --testdox

Quality

Static Analysis

  • ./vendor/bin/phpstan analyse src/ -l 7

Syntax lint

  • ./vendor/bin/phpcs --standard=PSR12 src/

Documentation

About

Chip8 emulator

License:MIT License


Languages

Language:PHP 100.0%