
A tetris game with a twist
Let’s play Tetris, but with a twist. No geometrical figures will fall from the sky. Instead, you control a sinusoid, defined by: \(f(x)=A*sin(\omega x + \varphi)\):
Controls
s;x;a;z;q;w;p;To win, you need to survive. The \(\sum\) of your sinusoids shouldn’t spike outside the canvas. If you are a savant, you can compute the Fourier Series coefficients in your head and keep the signal at 0. Good luck!
Remember, each time you win some, you lose some. Don’t be a loser.
There is The Path of Alternating Phases - when everything stagnates. This is boredom. Be a winner; fight the signal.
This game is a joke I put together during a weekend. I’m sorry for the graphics.
Reminds me of quantum soccer [1] from a short story by Greg Egan
> The pairs of modes involved depend on the player’s velocity; the exact rules are spelt out in the mathematical details, but it’s easy to experiment using trial and error.
Easy. This guy is truly in league of his own.
The quantum soccer league.
My first playthrough I quickly got it to where the amplitude was minimal, so then I just dropped low frequency low amplitude sinusoids for a while until I got bored. The following tries didn't go so well, but I guess even if I don't get the amplitude low I could still use the low frequency sines trick. I think this could be nice as a potential teaching tool for how sinusoids and waves combine. Sort of along the lines of this small game I made when I was a TA for an intro to acoustics class in college: https://goatesheard.com/ncg
This is wonderful. I think, ultimately it doesn't end up being a game as much as it is a wonderful way of looking at waveforms, simply because there is no goal except minimize. There should be an api so you can write code to pick the optimum changes for each drop.
Hello, this game is part of an article I am currently writing. I will add there the "optimal" sinusoid :). Thank you for the idea.
The goal is the same as Tetris – to last as long as possible before overflowing. This just doesn't have the mechanic of gradually getting faster.
I've added the feature so you can see the first 4 optimal sinusoids.