News for hackers. Stuff that matters.
Re:Show HN: A Tetris clone written in ES6 using React by slow_donkey on Sunday February 04, 2018 @11:47PM (#16306666)
May i suggest adding settings for DAS and ARR. It's quite hard to play fast without.

simon.lc/tetr.js is currently my favorite web based version and i think a good standsrd

Re:Show HN: A Tetris clone written in ES6 using React by igravious on Monday February 05, 2018 @01:17AM (#16306975)
To satisfy my ignorance I had look those up, and:

https://www.reddit.com/r/Tetris/comments/13uqby/whats_das_an...

“[…] but in general, ARR is auto repeat rate (how quickly the pieces move from right to left.) And DAS is delayed auto shift (How long you have to hold down the button to before a piece starts flying to the wall). Changing them can change how "slippery" your pieces feel and can also enable you to play a lot faster. […]”

Re:Show HN: A Tetris clone written in ES6 using React by slow_donkey on Monday February 05, 2018 @12:18AM (#16306782)
Ah one small bug(?) I noticed was t-spins arent recognized if they're hard dropped after you spin them in. But I think this is a great showcase for reactive and it's impressive all the spins work correctly!
Re:Show HN: A Tetris clone written in ES6 using React by nullobject on Monday February 05, 2018 @12:37AM (#16306844)
Thanks, I'll create an issue for it.
Re:Show HN: A Tetris clone written in ES6 using React by testb on Sunday February 04, 2018 @11:48PM (#16306671)
Here's a vid of what's possible with proper settings: https://www.youtube.com/watch?v=xUIpb-IFTZE
Re:Show HN: A Tetris clone written in ES6 using React by nullobject on Sunday February 04, 2018 @11:51PM (#16306680)
OMG, that video is nuts. I'm assuming that is being controlled by a human in real-time?
Re:Show HN: A Tetris clone written in ES6 using React by drenvuk on Monday February 05, 2018 @12:09AM (#16306742)
That's correct. With DAS tuning it's much less frustrating to play at the speed at which you can think. Here's one of the top online players of puyo puyo tetris, for reference.

https://youtu.be/7AjbWroX4vA?t=18m57s

Re:Show HN: A Tetris clone written in ES6 using React by testb on Monday February 05, 2018 @12:22AM (#16306794)
Yep it's a human - there's a good number of people who can reach that speed but it takes years of practice. I believe a lot of the community started young on various platforms so some people have been playing 10+ years
Re:Show HN: A Tetris clone written in ES6 using React by nullobject on Monday February 05, 2018 @01:00AM (#16306919)
Sure. I'll have to read up on how that stuff works, but I'm keen to make my version as playable as possible.