TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A Tetris clone written in ES6 using React

76 pointsby nullobjectover 7 years ago

8 comments

bherrmann7over 7 years ago
also... <a href="https:&#x2F;&#x2F;shaunlebron.github.io&#x2F;t3tr0s-slides&#x2F;#0" rel="nofollow">https:&#x2F;&#x2F;shaunlebron.github.io&#x2F;t3tr0s-slides&#x2F;#0</a> using clojurescript in place of ES6
评论 #16306618 未加载
nullobjectover 7 years ago
There&#x27;s a link to the code from the help and game over screens, but here it is for anyone who missed it: <a href="https:&#x2F;&#x2F;github.com&#x2F;nullobject&#x2F;tetris" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nullobject&#x2F;tetris</a>
评论 #16306278 未加载
slow_donkeyover 7 years ago
May i suggest adding settings for DAS and ARR. It&#x27;s quite hard to play fast without.<p>simon.lc&#x2F;tetr.js is currently my favorite web based version and i think a good standsrd
评论 #16306975 未加载
评论 #16306782 未加载
评论 #16306671 未加载
评论 #16306919 未加载
bjpirtover 7 years ago
Good work, however a little feedback...<p>This works fine at lower rates but once you hit anything greater than 120 or so there&#x27;s a noticeable lag between hitting the key to rotate and the shape actually rotating - enough that the shape will often have moved a couple of spaces by the time it rotates which makes it very difficult to play.<p>Not sure if that&#x27;s inherent to the framework or just how this particular version is programmed.
ajeet_dhaliwalover 7 years ago
I have wanted to try creating a game with ES6 and React for a while but been too busy recently. Thanks for this, it&#x27;s great to see your attempt, I think it plays and looks great. Any unexpected challenges or issues experienced when using React for this? (I am experienced with React, just haven&#x27;t used it for games, I also have experience creating games, just not with React).
评论 #16314667 未加载
laurent123456over 7 years ago
Back button doesn&#x27;t work on the &quot;How to play&quot; page and there&#x27;s no obvious way to close it (there should at least be a close button in the top right corner). I thought the &quot;Resume&quot; button would open your resumé so I didn&#x27;t think of clicking on it at first.
评论 #16314661 未加载
bherrmann7over 7 years ago
fyi: <a href="http:&#x2F;&#x2F;timothypratley.blogspot.com&#x2F;2015&#x2F;07&#x2F;you-should-be-using-figwheelreagent.html" rel="nofollow">http:&#x2F;&#x2F;timothypratley.blogspot.com&#x2F;2015&#x2F;07&#x2F;you-should-be-usi...</a> using clojurescript in place of ES6
bchernyover 7 years ago
No mobile support? :(
评论 #16308240 未加载
评论 #16306300 未加载