TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A Tetris clone written in ES6 using React

76 点作者 nullobject超过 7 年前

8 条评论

bherrmann7超过 7 年前
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 未加载
nullobject超过 7 年前
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_donkey超过 7 年前
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 未加载
bjpirt超过 7 年前
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_dhaliwal超过 7 年前
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 未加载
laurent123456超过 7 年前
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 未加载
bherrmann7超过 7 年前
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
bcherny超过 7 年前
No mobile support? :(
评论 #16308240 未加载
评论 #16306300 未加载