GitXplorerGitXplorer
b

BlockDrop

public
2 stars
0 forks
4 issues

Commits

List of commits on branch master.
Verified
b4d57c054d1cefee4a5c592fc059e1a253067675

Update URLs to benbooth.dev

bbkbooth committed 6 years ago
Verified
bba32bb127882d33be76baa77315c7c061c34cca

Update domain references

bbkbooth committed 7 years ago
Unverified
db0466a4681cce5ab769eca82aeaaf94c3d5d434

Update demo link to HTTPS in README

bbkbooth committed 8 years ago
Unverified
e9a1b3d0a593fa2b4fd92d769a5ff750bda68da9

Lock down npm dependencies to patch versions

bbkbooth committed 9 years ago
Unverified
6d60e26cd9f50af50c41d4598dcffb7dd3fda9cb

Fix issue with grunt-manifest config

bbkbooth committed 9 years ago
Unverified
4aa73a7c044ddaf660f256954d7cbb67b3320982

Update all npm dev dependencies.

bbkbooth committed 10 years ago

README

The README file for this repository.

BlockDrop

Demo here: blockdrop.benbooth.dev

BlockDrop is a shameless Tetris® clone using pure JavaScript, HTML and CSS.

I started writing it while teaching myself how to use JavaScript as a proper language and wean myself off jQuery. I'm also using it as a testing platform for various JavaScript, HTML5 and CSS3 features. I've tested in Chrome, Firefox, IE 9/10 and Chrome for Android so it should work on most modern platforms.

Controls

  • a h or swipe ← moves the piece left
  • d l or swipe → moves the piece right
  • w k swipe ↑, or single tap rotates the piece 90° clock-wise
  • s j or swipe ↓ soft drops the piece (drop line by line)
  • spacebar or enter hard drops the piece (drop all the way to the bottom)