GitXplorerGitXplorer
l

tetris

public
9 stars
1 forks
4 issues

Commits

List of commits on branch master.
Unverified
1ad58b5d4da3918006cdcb66157747336ee2d920

Fix link to Saigon Racer

llukejacksonn committed 6 years ago
Unverified
8cb311e3711d453ef364ef4f866f8e0f52447879

Point servor at src

llukejacksonn committed 6 years ago
Unverified
57d061a25b79a4684a1625433d3867febba88c73

README fix

llukejacksonn committed 6 years ago
Unverified
fd4f944058e55c85686c39fec039512f9abd54ea

Updates package.json and moves source files into src

llukejacksonn committed 6 years ago
Unverified
c42a24dfc7172512992f663ec940ba661ac0ed52

Adds README

llukejacksonn committed 6 years ago
Unverified
4ea254ccadb20a1a8d44aef5d76130137baa2457

Initial layout and styles

llukejacksonn committed 6 years ago

README

The README file for this repository.

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.