Skip to content
The classic NES Tetris built with hyperapp
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Updates package.json and moves source files into src Nov 29, 2018
README.md Fix link to Saigon Racer Nov 29, 2018
package.json Point servor at src Nov 29, 2018

README.md

Tetris

The classic NES Tetris built with hyperapp

I recently got quite hooked on watching the CTWC. This inspired me to go try build the game Tetris for myself in order to better understand the game. There has been talk on the hyperapp slack about creating a project – working application built with hyperapp – that we can use to dogfood new ideas and serve as a reference when creating new apps.

The idea of a game came up and it seemed like a good theme to run with; limited enough in scope but complex enough to stress test design patterns and perf. I wanted to implement a dependency and build step free project as to put focus mostly on the application code as well as structure.

A lot of the code has been copied and adapted from two codepens:

Output

The application currently looks like this and you can play it online here:

screen shot 2018-11-29 at 16 58 38

TODO

This project has been left unoptimized in places. There is a lot of low hanging fruit when it comes to features or details to add. The aim is to replicate the classic NES version as closely as possible for fun!

See the project issues to see what needs to be done or create a new issue.

You can’t perform that action at this time.