Skip to content

eioo/kotlin-chip8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin-chip8

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.

Example of operation

example

Requirements

  • Node.js
  • JDK 11

Installation

  1. Make copy of .env.example to .env and fill with your details.

  2. Run these commands to install and run client

cd src/client
npm install
npm start
  1. Install Maven dependencies listed in pom.xml
  2. Run com.eioo.chip8.Main.main
  3. Navigate to http://yourhost:port in browser (http://localhost:8080 by default)

TODO

  • 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

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Successor of eioo/typescript-chip8-emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published