Tetris that pisses me off

Will Habr’s collective intelligence be able to break the world record?

Tetris. Well, it would seem that you can do something new here? There was already a three-dimensional tetris, and four-dimensional tetris

Made Tetris, which every time slips you the most unnecessary figure. Cool at first, and then infuriating. PASSING !!!

Beware, this Tetris evokes negative feelings and can ruin your day. Or maybe it will push you into philosophical reflections on what luck is in life and whether it is worth waiting for it or you have to constantly fight.

For the second day I have been thinking how such a simple mechanic forced us to reflash the usual mental strategies in the game and in the broader context of decision making. Previously, it was possible to “postpone” the situation until later, when a more favorable figure appears, but now you realize that there is “someone” behind the scenes who will never allow a favorable figure to appear. The only way to succeed in any way is to make surebets, so that success cannot fail to happen.

In this tetris, there is not even “gravity”, that is, there is no pressure of time, but it will not help you much.

The hate generation algorithm is simple:

“Check all possible locations of all possible shapes, for each shape see the best scenario, from these best scenarios choose the worst one and generate this shape.”

In this game Hatetris there are no accidents, the algorithm is deterministic, so there is a challenge to come up with a better strategy. Author’s solution – 5 lines. Mine, for 10 minutes of play – 4 lines.

Write your result in the comments. (without peeking into the save files)

The task for programmers is to come up with their own, more optimal algorithm that maximizes the “hatred in Tetris”, that is, slips you the most uncomfortable figure that minimizes the player’s chance to fill in the line.

Play here
Source codes here

Antidote: Tetreasy – Tetris which gives you the best shape.

save on 6 lines

1) ಞ জ ໃ ݎ ฆ ঘ ໃ ݞ ഢ s ງ ڣ ௨ త ට ଘ ݸ భ ඨ ƙђࢲҨ ະ ࡉɷƥȣKϡuЅ ਘ ௐ ք ධ ݹࠒ ѻI ݚݸ ට ไ ऄ ம Ҕ༨ ຣ ҫ ට ถ ݹ ଗ ق ן ຣ ऄ ق Ɛ ຣ ऄ ן ຣ ऄ

2) హ इ ໃ џI ට ଛ ڭ 1 پ ಭ ݪ b ඩ ಸ ݞ హࡄ Ȥ ເ 2 ඤʈ অ ஜ Ѹ ໃ ѣ ۑ චʈ ஆ ಏ 6 ܯ ཧ 7 ට ໞ ݹ ਓ s ະ ࠇஶ ƣ ฅ I డ ق ແ ߛ2 ೱ ٱݸ ಳ ൞ ະ ࢭ 2 ඞ H ݷ హ इ F ݪ 1 چ ະ ঀ ౻ ට P ݸ ԫ5 ଠ ݹ ౻ ಅ ໄ ൰ ళ Ҹ ཟ ࢭল ฃ ฅ ॾ వ ඩ ಸ ܭ SࡏV پ ƏοS ྌ ਔ

save on 7 lines

ฆ ࡄ າ ໃ ݣ ඪජ ݹ ಏ 5 ຊ र ಗ ق 84 ص ඨʐ এ u ට ล ڝ 2 ෨ ଈ ݚ u ච ƙɕࢳ 3 ฅ ڥࢲ ට ະ ࠇ2ٴ ໃ ɛ2ٴ ແ ߛ2 ൞ ໃ ק 1 ڠ ງ Ʒ ஶ كɑݹ த ෮ ແ ࢭ 1 ຂ ຽ ஈ ਢ ච ƚ ܥ2 ۼ ถ ݷ ಏ ق ܧɒ ԩ ঘ ญ க ϡࡆϿ ߟ Ƒ ؾ Ͽ ॻ0ʜ ວ ॿ ޠ ظ ܪܦ ౻ ॸࠋ

save on 8 lines

Ɣ ঔ ໃ ݹ ஐ ټ ຯ پ 1 এ ІK2 ಗ າ ɢƏࡈ າ ɕƔ ן ІJ1 ڠ ຽ অস ඞ ݕݹ ம ΒІυ ݸ ට ຯ ວ 2 ට ȣƫ2 ඖ the I ܥ2 ౚ ഫ ݹ đҨS অ ர ե ໃ ƫ2 ൝ ධ ݛࠑ ಧ ష ҪࡐԊ ໂ Ʒ ஓ Ҹ գ Ƕ ߜ ඖ ڪڤ 2 డ ล T ଚ ౾ κʥࢳ ॴ ༱ u झ ٯ ฦ ܥ ƑȺ ی w ಳ Ͼ ຯ ஞ 1 ڈ 3 ଖ ಱ ல ะ C ஐ شڛ ઝ ѻ ਯ ϝ ລ

World record at 31

2 ഖ ƌ ݯ ߜࠏ ІWƑs ໃ a29 ܘ ݷ ಳ ජ ଈ ی Ԫ ؼʥݺ pe with descender ඞ ܘ ݲࠐڄ ໂ অ ம ة ໃ ݹ 1 ړ the I ٽ 2 ൞ ໃ Z2 ಘ the I ܥࠐ ΣІZ ߜ ට Ȝ খ ذ ජ H ݹ ߛ eʛ ݹ ߤ ป ເ ѧ3Ԛ ໂ Չࢸ ට ua2 સ ȣ ݷ ł ق ෆ অ ਏ e ܘ Ԕ צ ق ష ݸɢڠ ຜ ঀ ಧ Ҹ ມ ѧ ஐ ට ༪ 3Ԋ ಅ ഫ ܡ थ s ถ ԡԦԚ ໃ ɥஸ قࡈɕɠ Ɉ ไ ݸ צ ق ష ݰ ਵ ϺF অ ஓ ػݐɓ Ԟu ຯ ɕझࡈ0 ݞ झࢶ the I ݞ म ป ദ ஈ Ɖ ؿ ଭ ݪ ஸ ҩЂ ൸ ԛ م ϦGƁҨV ھ pe with descender ච ½ շࡂ ෮ ल ݷ Ƙ ණ8ࠅ Ƙ ಧ H קࢻ o-hook ฆ Ә ದ ԋϝ ପࠑ1 ͳ ݲ ட փ ර ݞ ਵ ΚϼɢԒ Ժ ٳ ѦԤࠌξG ಘ س ਯ ܥ ஶ ҋϮτ थ lϼʔ

Research:

Philosophical Reflections from HackerNews That Life Is Tetris:

On Habré about Tetris:

  • Suddenly, it is impossible to win at Tetris
  • Implementation of “Tetris” in the game “Life”
  • Tech debt like Tetris

Cloud servers from Macleod fast and safe.

Register using the link above or by clicking on the banner and get a 10% discount for the first month of renting a server of any configuration!

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *