Quick JavaScript Tetris

Games

browser tetris game

SHOW HN2016

56points
22comments
#669of 2,264 in 2016
Top 30%of 2016 by points

How HN took it

RoastedHalf or more of the comments are critical

2 positive, 3 neutral or asking, 2 mixed, 9 critical, out of 16 comments about the project. Thread score -0.31.

Performance: 0 for, 5 againstDesign: 0 for, 2 againstExecution: 0 for, 2 againstIdea: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Fun and well-liked short single-file project

    From 3 comments
    • Love these short 1 file code things. C https://gist.github.com/spaceexperiment/4d6b116ef577a29712593c41747bd092 Tcl…
      nothrows on HN
    • I love Tetris! Played it for a few minutes. Time to attach to blocks shouldn't be instant and I had the top and right game borders start flashing after a while but otherwise…
      KiDD on HN
    • Super nice. I had to look in the code to find this: ``` Up arrow to rotate! ```
      ronilan on HN

Objections

  • Game freezes or stops after a few minutes of play

    From 5 comments
    • I experienced a bug where the game suddenly stops after a few minutes of playing. I'm using Firefox ESR 45.4.0 on RHEL if it helps. Otherwise, great job!
      vinay427 on HN
    • Seconding that, Firefox 49 on Windows7.
      mrpopo on HN
    • Thirded w/ Chrome 54.0.2840.87 (64-bit) on OS X 10.11.6. Stopped about 15 pieces in the first time so I thought it was just an abbreviated demo.
      krusty76 on HN
    • Me too. Jumping into the console gives a series errors like: > TypeError: tetrisBoard[(y - 1)] is undefined From within tick() Seems to be triggered by rotation followed by a drop.
      shakna on HN
    • I couldn't get a second block to appear. I drop the first block, and the game just stops doing anything.
      matthuggins on HN
  • Page scrolls when rotating with the up arrow

    From 1 comment
    • Fine idea, but it needs to cancel the default event because otherwise the page scrolls up when you rotate a piece.
      oneeyedpigeon on HN
  • Playing field taller than small browser windows

    From 1 comment
    • The playing field is higher than the client area of my browser. (768px pix screen)
      bartl on HN
  • Rotation delay too short and block attach timing off

    From 2 comments
    • I feel like delay you get when rotating the blocks is too short. I often ended up over-rotating it. Might just be me. Other than that good job.
      lacampbell on HN
    • I love Tetris! Played it for a few minutes. Time to attach to blocks shouldn't be instant and I had the top and right game borders start flashing after a while but otherwise…
      KiDD on HN

Requests

  • Add mobile and touch support with swipe controls

    From 1 comment
    • Could you make it work on mobile (esp. touch screens)? Something where arrows are swipes?
      rahkiin on HN
  • Show the next upcoming block

    From 1 comment

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/12866538)