Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Darryl Day committed Oct 4, 2020
2 parents 07a98f0 + 72973f3 commit d63ab8c
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
# chip8sharp-unity
# chip8sharp-unity
A CHIP-8 emulator built in Unity. Configured to work with PC, Mac, Linux Standalone and WebGL. Some ROMs come preloaded and on standalone versions you can upload any of you own ROMs.

![Game](https://user-images.githubusercontent.com/26587807/95029009-806a5e80-067f-11eb-8c92-e64e1e3dbb6a.PNG)

## Input
Requires keyboard and mouse. Press "esc" or "backspace" to exit a game and be brought back to the title screen.

Chip 8 keypad to keyboard controls:

![Controls](https://user-images.githubusercontent.com/26587807/95028970-2bc6e380-067f-11eb-8607-e6a88a8e88ff.PNG)

Touch controls can easily be added by implementing an IUserInput interface.

## Unit Tests
Using Unity's TestRunner, unit tests were created to test every opcode.

![Unity](https://user-images.githubusercontent.com/26587807/95028974-2f5a6a80-067f-11eb-8903-8de62ce2670c.PNG)

## 3rd Party Packages
I use SimpleFileBrowser to handle selecting ROM files for standlone version: https://github.com/yasirkula/UnitySimpleFileBrowser

0 comments on commit d63ab8c

Please sign in to comment.