bafs/chip8

There is no license information available for the latest version (1.0.0) of this package.

1.0.0 2023-08-31 13:08 UTC

This package is auto-updated.

Last update: 2024-04-30 00:46:36 UTC


README

68747470733a2f2f692e696d6775722e636f6d2f76565a686e63582e706e67

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

68747470733a2f2f692e696d6775722e636f6d2f735a48413772382e676966