CHIP-8 emulator written in Kotlin & TypeScript. It uses WebSockets to stream data to browser.
There's no real benefit in using WebSockets and browser for graphics and controls, I made the project just for practice and lulz.
- Node.js
- JDK 11
-
Make copy of
.env.example
to.env
and fill with your details. -
Run these commands to install and run client
cd src/client
npm install
npm start
- Install Maven dependencies listed in
pom.xml
- Run
com.eioo.chip8.Main.main
- Navigate to http://yourhost:port in browser (http://localhost:8080 by default)
- Missing instructions
- Some instructions are incorrect (?) (Pong doesn't count scores properly, ball sometimes passes through top of game area)
- Handling of keypresses
- Sounds
- Add duration for sound instead of fixed .mp3
- Heartbeat for socket. Sometimes you need to refresh the page so that the socket connects properly
This project is licensed under the MIT License - see the LICENSE.md file for details