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
Requires
- php: >=8.1
- symfony/console: ^6.0
Requires (Dev)
- phpstan/phpstan: ~1.10
- phpunit/phpunit: ^10.0
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-11-30 02:19:04 UTC
README
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/