Hacker Newsnew | past | comments | ask | show | jobs | submit | bubblesorting's commentslogin

Kernel_task is often the os thermal throttling, when was the last time you hit the vents with a can of compressed air?

I enjoyed playing Linex! It reminds me of doing perfect clear solves in Tetris, but without the stress :) I appreciate the skip, next, and hole-fill power ups.

If you don't mind me asking, how are you doing piece generation? Is it random%7, drawing from a bag, or something else?


It's neither purely random 7 nor like drawing from a bag. It's a little bit more complex.

If I were to explain it the technical way: I use a custom Linear Congruential Generator (LCG) seeded by the current date (YYYYMMDD) to ensure deterministic gameplay—everyone gets the exact same piece sequence every day. I don't use flat probabilities; instead, I run the LCG output through a weighted roulette that changes based on the day of the week (e.g., higher probability for 'I' pieces on Mondays, higher for 'S' and 'Z' pieces on Sundays). Lastly, there's a system to mitigate consecutive identical pieces.

In simpler terms: I use a formula based on the current date to generate a different sequence of pieces every day, guaranteeing it's exactly the same for all users on that specific day. Then, I adjust this sequence using a probability matrix so that on Mondays you get more of the easy pieces (like the line or square), and on Sundays you get more of the hard ones (like S or Z).

This is the probability matrix:

const pieceProbabilities = { 1: [0.20, 0.18, 0.16, 0.14, 0.14, 0.09, 0.09], // Monday 2: [0.18, 0.17, 0.15, 0.14, 0.14, 0.11, 0.11], // Tuesday 3: [0.16, 0.15, 0.15, 0.14, 0.14, 0.13, 0.13], // Wednesday 4: [0.14, 0.14, 0.14, 0.14, 0.14, 0.15, 0.15], // Thursday 5: [0.12, 0.12, 0.12, 0.15, 0.15, 0.17, 0.17], // Friday 6: [0.10, 0.12, 0.12, 0.15, 0.15, 0.18, 0.18], // Saturday 7: [0.09, 0.10, 0.13, 0.15, 0.15, 0.19, 0.19] // Sunday };

I hope this explains it well!


Extremely cool! I have never seen that type of piece randomizer, thanks for sharing


Very cool! I am a good Tetris player (in the top 10% of players) and wanted to give brick yeeting against an LLM a spin.

Some feedback: - Knowing the scoring system is helpful when going 1v1 high score

- Use a different randomization system, I kept getting starved for pieces like I. True random is fine, throwing a copy of every piece into a bag and then drawing them one by one is better (7 bag), nearly random with some lookbehind to prevent getting a string of ZSZS is solid, too (TGM randomizer)

- Piece rotation feels left-biased, and keeps making me mis-drop, like the T pieces shift to the left if you spin 4 times. Check out https://tetris.wiki/images/thumb/3/3d/SRS-pieces.png/300px-S... or https://tetris.wiki/images/b/b5/Tgm_basic_ars_description.pn... for examples of how other games are doing it.

- Clockwise and counter-clockwise rotation is important for human players, we can only hit so many keys per second

- re-mappable keys are also appreciated

Nice work, I'm going to keep watching.


I actually grew up playing the Spectrum HoloByte version of Tetris for PC, which only lets you rotate in one direction. As a result, I ended up playing NES Tetris for years as a kid before realizing it lets you rotate clockwise / counterclockwise!

https://en.wikipedia.org/wiki/Tetris_(Spectrum_HoloByte)


The worst thing is that the delayed auto shift is slightly off and it messes my finesse. (I used to play competitive tetris as well, but between getting older -> worse reflexes and vision problems I can't really play anymore. Weirdly, finesse muscle memory is still working.)

I don't think the goal is to make a PvP simulator, it would be too easy to cheese or do weird strategies. It's mostly for LLMs to play.


Hello fellow Tetris nerd with a -sort username :)

On the topic of reflexes decaying (I'm getting there, in my late 30s): Have you played Stackflow? It's a number go up roguelite disguised as an arcade brick stacking game, but the gravity is low enough that it is effectively turn based. More about 'deck' building, less about chaining PCs and C-Spins.


Stackflow looks nice! I'm a Balatro fan and I didn't know about this variant.

By the way, kudos on your feedback. If I was OP, I would've been honored to get that type of fine-tuning comments.


cool to hear about more randomizers. I am not a great tetris player but I absolutely love the game. I put NES, 7-bag and my own take on randomizer (crap) in my online tetris-like experiment https://www.susmel.com/stacky/ (you can press c for more controls or h to see shortcuts)

One of my dream goals was to make a licensed low lag competitive game kind of like TGM, but I heard licensing is extremely cost-prohibitive so I kind of gave up on that goal. I remember I said to someone I was ready to pony up few tens of thousands for a license + cut, but reportedly it starts at an order of the magnitude higher.


Thanks so much for the amazing feedback!!! Will update the app to incorporate these


That was true a few years ago. The next few years are here :) take another look, you’ll be pleasantly surprised.

E: that sounded like snark, definitely not the intention, Ableton supports MPE now and they were lagging behind. Roger Linn keeps a list of MPE/MIDI2 compatible software and hardware, every time I revisit it, the list has grow : https://www.rogerlinndesign.com/support/support-linnstrument...


coldtea’s point is that MPE is backwards-compatible with MIDI, but MIDI 2.0 is not.

Linn’s list appears to include MPE devices but I can’t find any mention of MIDI 2.0. I’m not sure why you’re calling this a list of “MPE/MIDI2 compatible” devices.

It sounds like you’re saying that MIDI 2.0 is widely supported; do you have a list of MIDI2 devices on the market?


I'm talking about MIDI 2.

MPE has better support, MIDI 2 not much atm.


The only MIDI 2 controller I know of is the Lumatone. For some reason they decided to go with MIDI 2 rather than MPE.

https://www.lumatone.io/faq

There's also the Roland A-88mk2, with MIDI 2 support "coming soon" whatever that means.

https://www.roland.com/us/products/a-88mk2/


Ooooh, I thought MPE was the same as MIDI 2.0. Turns out it ain't. My bad!


The blitz (maximize score in a set time) all-clear runs are pretty impressive, too. https://www.youtube.com/watch?v=EWETj11LmMw&t=7s


120-ish seems to to be where linters will yell these days.


Is this Max/MSP for JSON? Pretty cool!


It always fascinates me when I see Max/Live/etc. mentioned on Hacker News. You wouldn't think the overlap between the user demographic would be very large, y'know?


…definite MAX/MSP or PureData vibe!


Depends on what rule book you're using :) Ghost pieces default to `on` in Guideline Tetris.


They also mandate EasySpin/Infinity, which breaks the game, so I basically don’t trust anything the say. >:)


It can break Marathon, but infinity spins are not a great strategy for Ultra, Sprint, or 1:1 multiplayer.


I agree, but I play Marathon, and it sucks. :(

Tetris Effect would have been so much better if EasySpin could be turned off.


I am _really_ hoping the ID 3 will be roughly the cost of a GTI, but it's looking more like the cost of a Golf R.

Oh well, maybe in a few more years.


I'm a bit scared of this. There are so many horror stories out there to the tune of, "Google banned my account, now I can't get into anything, and there's zero ways for me to get in touch with a human to talk about any avenues to fix it." and then extrapolating that to government.



Yeah, I don't want those either.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: