Skip to content

PenguinOfWar/chip.ts

Repository files navigation

CHIP.ts

A CHIP-8 emulator in TypeScript.

🚀 Play Now! 🚀

Unit Tests CodeQL GitHub Pages

This project was bootstrapped with Create React App.

Features

  • Play in any modern browser
  • Pause the emulator any time
  • Local multiplayer (depending on the game)
  • 60 fps video output to canvas
  • Cutting edge sawtooth audio
  • Desktop keyboard support
  • Mobile and touch support with virtual hex keypad

Cartridges

  • Invaders
  • Brix
  • Tetris
  • Pong
  • UFO
  • IBM
  • Missile
  • Tank
  • Maze

Backlog

  • Game specific optimisations
  • User controls for color, frame rate and clock speed
  • Frame counter
  • Rewind frame by frame
  • Save states
  • Companion visual maps for memory and registers
  • Live debug information

Run the project locally

Clone into the project directory and run:

npm start

Runs the app in development mode.

Open http://localhost:3000 to view it in the browser.

Other Scripts

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Resources

0 | 1 | 2 | 3