Тёмный

[PPT AI] You may not like it, but this is what PEAK PERFECTION looks like 

Minus Kelvin
Подписаться 2,7 тыс.
Просмотров 26 тыс.
50% 1

I've begun work on a perfect clear finder, unimaginatively called pcf. It uses a different strategy than knewjade's sfinder; instead, it is similar to knewjade's perfect clear enumeration algorithm (gist.github.co.... This hasn't been integrated into Cold Clear yet, but I plan to do that soon.
For this video, I hacked together a version of pcf that works with Zetris. Zetris is well-optimized to using perfect clear finders and gives them about 2 seconds to calculate the next perfect clear. This is more than enough time for pcf to evaluate every 4-line perfect clear it cares to examine, even with only one thread. Since the search is deterministic, has enough time to complete without being interrupted, and I modded the game to give both players the same piece sequence, both bots in this video decide to do the same perfect clear every time.
Description of how pcf works:
1. Determine the height and number of pieces required to do a perfect clear based on the board. Limit our view of the queue to that many pieces, plus one if hold is allowed.
2. Find the lowest of the leftmost empty cells below the height. Find every placement that fills that cell, does not overlap the board, and uses a piece in the set of remaining pieces (regardless of queue order). A placement may split its piece across lines.
3. Check that the resulting placement combination is still viable. A placement combination is viable if there is some order that the placements can be made assuming that the parts of the board not filled by a placement in the combination are filled and pieces can teleport.
4. If the board isn't a perfect clear, then for every remaining placement combination, repeat from step 2. Otherwise, proceed to step 5.
5. Find all the placements in the combination that can be placed next according to the next piece, hold piece, and whether the position is reachable according to the game rules. Repeat until either the perfect clear is solved or no solution is found.
6. If, after all that, no perfect clear solutions are found, raise the height by 2 lines and try again.
Deciding whether a position is reachable in step 5 has the potential to be the most costly part of the algorithm considering the intricacies of the Super Rotation System. pcf gets around this by only checking for hard drop, tucks without rotation, and simple spins without movement. This gives most of the benefits of SRS while remaining fast to calculate.
Due to the overwhelmingly large number of placement combinations that become possible as the number of pieces required increases, this strategy is likely not viable for finding perfect clears at height 6 or higher. Thankfully, my main purpose in developing this is to make the most powerful PC loop bot, and four-line perfect clears are common enough that this strategy works well.
Played on April 15, 2020.
Zetris is developed by mat1jaczyyy, building on the work of misakamm and knewjade.
Zetris' RU-vid channel: / @zetris
pcf's source code: github.com/Min...

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 89   
@VinceeHD
@VinceeHD 4 года назад
Me waiting for them to not play simultaneously: 👁️👄👁️
@うぇるちす
@うぇるちす 4 года назад
この場にいるだけで超健康になりそう
@HDFlood_
@HDFlood_ 4 года назад
Players sharing the same seeded bag set is what I wish we had in PPT.
@anton993
@anton993 4 года назад
so as far as I've seen -Cold Clear is good on stacking -Zetris is good on PCs -Tetras is good on 4widing (I see it does both building and downstacking very quickly) -Wataame is good on TSTs (I've noticed it does setups more frecuenly than any other bot)
@HDFlood_
@HDFlood_ 4 года назад
Cold Clear (Witch) is an APM-oriented bot, where she mixes T-Spins and Tetrises frequently. She is currently the toughest bot to beat in the Puyo Puyo Tetris scene. Zetris (Zed) is more T-Spin oriented, since his code is based off MisaMino's T-Spin+ Lv9 code, with a Back-to-Back modifier, no hold modifier, no soft drop modifier, and Bravo Finder modifier. Zet also has a 4-Wide modifier, which has rarely been seen though. Hell, he even has an All-spin modifier! Baseballboy practices with him the most if you want to view that on his Twitch. :> Tetras (Ecolo, previously Raffina) is a nerfed APM bot compared to Cold, but in comparison to her, they are an all-rounder, with a Basic Bravo Finder, a good T-Spin code, and a 4-Wide searcher. Compared to about a year or two ago, Tetras was one of the bots that made some of the largest improvements within a 6 month time span, as they were once only coded to find TSTs and greeded them hard. Wataame (Feli) is a Burst-oriented bot; she will almost always opt for the strongest damage and try to send in bursts. This came in recognition with her unique mix of Downstacking, T-Spin Triples with either another T-Spin Double or Tetris, and sometimes an accidental combo wells.
@NobuRiona
@NobuRiona 4 года назад
@@HDFlood_ This is the smartest thing I've seen all day
@モザイク-l6v
@モザイク-l6v 4 года назад
人間が参考にできるものでは無かった
@kyakkuriyama
@kyakkuriyama 4 года назад
そのとおり
@suu0313
@suu0313 4 года назад
完全同時だと1pの方が速い判定になるんですかね
@pop_corn_UMAI
@pop_corn_UMAI 4 года назад
スーー それはなんか理不尽…
@しすてま-m1j
@しすてま-m1j 4 года назад
2Pの方に火力いってるもんねー
@will_3_sisters
@will_3_sisters 4 года назад
真ん中で相殺するエフェクトを作って欲しかった
@Yoshi_0205
@Yoshi_0205 4 года назад
これ実は1pの方がちょっと早い どっか一時停止すれば分かるはず holdと交換する時とかわかりやすい
@user-tn7hy1fj1q
@user-tn7hy1fj1q 4 года назад
4:29
@JoSephGD
@JoSephGD 3 года назад
i love it when it looks like bots misdrop but it turns out to be a pc
@foolish137
@foolish137 4 года назад
Maximizing the amount of hard drops is an outstanding move
@Zミノ-f4n
@Zミノ-f4n 4 года назад
_無 限 ル ー プ っ て 怖 い よ ね 。_
@suruutokimama0048
@suruutokimama0048 4 года назад
パフェルートの見本市
@HDFlood_
@HDFlood_ 4 года назад
4:29
@lauraliggins2711
@lauraliggins2711 4 года назад
Gavin Dreemurr ppt in a tube
@rarutapuyo
@rarutapuyo 4 года назад
無限ループ!wせめてツモが違えば・・・
@Ripper_-hv2ei
@Ripper_-hv2ei 4 года назад
ツモてw 麻雀かよw
@和歌山県産のみかん
@和歌山県産のみかん 4 года назад
まあミノでもツモでも()
@はる-j5u5t
@はる-j5u5t 4 года назад
にちるび 普通にツモっていうくないですか?
@KonoYoutubeNoSiyouKirai
@KonoYoutubeNoSiyouKirai 4 года назад
にちるび 普通にツモって言うよ
@sukimeta
@sukimeta 4 года назад
ツモはぷよっていうイメージかなー テトリスでもつかうけど()
@ちゃんD-g5f
@ちゃんD-g5f 4 года назад
なんという不毛な映像
@looming314
@looming314 4 года назад
In your step 2, I think you should always pick the leftmost-lowest empty cell rather than lowest-leftmost one. Since rows are less than columns, this will reduce the searching tree a lot.
@Omizu_uruoi
@Omizu_uruoi 4 года назад
今のシンクロはここまで進化してるのか( ・-・ )
@minami_373_
@minami_373_ 4 года назад
4:29 超"健"康"た"セ"ー"ッ"ト"
@ExileLord
@ExileLord 4 года назад
Looking good. Are you sure there isn't a practical way to cut down on the search through lookup tables? The amount of piece combinations for a PC loop is finite, enough so that there was an image floating around of every possible PC given an empty field and 10 pieces. While this wouldn't cover arbitrary mid game fields, it should let you perform optimal loops for essentially no cost which sounds like your primary concern.
@トコス-w3f
@トコス-w3f 4 года назад
どこかで2種類のルートができた時に別の積み方したら終わるんかなって思ってずっと見てた…
@user-T_TETRIMINO
@user-T_TETRIMINO 3 года назад
@荒木皇希 荒木さんやないか!
@mindnomad
@mindnomad 3 года назад
Perfect Clear in 3D!
@sebastianwidua2055
@sebastianwidua2055 4 года назад
It's beautiful
@稲荷餅
@稲荷餅 4 года назад
なんだかすごく眠くなりました! おやすみなさい!
@maya-wb7fk
@maya-wb7fk 4 года назад
永眠
@ほたくりーむ
@ほたくりーむ 4 года назад
超健康やな
@名前未設定190人目標
@名前未設定190人目標 3 года назад
参考にさせて頂きました
@jimothyjimothy1
@jimothyjimothy1 4 года назад
The most powerful pc loop bot is Nilgiri
@NobuRiona
@NobuRiona 4 года назад
So what you're saying is if PPT gave the same bag for both players, and both players know how to Perfect Clear consecutively, this would be the end result.
@ピロ-c8d
@ピロ-c8d 4 года назад
途中ちょっとズレてるように聞こえるのはなぜ?あと速度全く同じだと2pが相殺になるんですね。
@ポンデリング-l4l
@ポンデリング-l4l 4 года назад
ピロ 微妙にズレてますね
@taketa4252
@taketa4252 4 года назад
4:29 1Pの方がマス1つ分速い
@vabold_
@vabold_ 4 года назад
how did left pcf get one frame ahead of the right about halfway through?
@-TwT
@-TwT 3 года назад
pog
@jumpyjuice1992
@jumpyjuice1992 4 года назад
You are a genius
@fruit_juice100per
@fruit_juice100per 4 года назад
これを出来るようになれば負けなしか
@aikayu1op
@aikayu1op 4 года назад
負けなしだが勝ちもなし
@千手観音菩薩-u4j
@千手観音菩薩-u4j 4 года назад
神には勝てない…
@fruit_juice100per
@fruit_juice100per 4 года назад
@@千手観音菩薩-u4j やたらと神賛美する人どこでも湧くけど勝てる可能性のある人結構いるからな
@コロナにより自宅警備柱になった
果汁 おいおい、神に勝てる奴なんてこの星にはどこにもいないよなぁ(威圧)
@sunny-sunny-cloudy
@sunny-sunny-cloudy 4 года назад
コロナにより自宅警備柱になった冨岡義勇 恐らく別勢力(ぷよぷよ)の神となら…
@orangejuice3235
@orangejuice3235 4 года назад
I am losing my sanity.
@Dr.PovertyShoes
@Dr.PovertyShoes 4 года назад
This ai should learn perfect clear setups
@co_haku
@co_haku 4 года назад
え?これまじのシンクロ?? すげぇ…(✧-✧`)
@akaringonofeya
@akaringonofeya 4 года назад
最初に見て分かった  これ終わらんやつや…
@ryuseigunsou
@ryuseigunsou 4 года назад
人 類 に は 早 す ぎ た
@shakkar23
@shakkar23 4 года назад
You told me this was I dumb idea, and yet you use it? 0IQ
@normie8862
@normie8862 4 года назад
noice
@user-omino
@user-omino 4 года назад
相殺外しを教えてあげたい
@bananya6020
@bananya6020 4 года назад
i dislike how the bots slooowwwwly get out of sync lol
@アレ-w8s
@アレ-w8s 4 года назад
時間の無駄でわらった
@keshyy5173
@keshyy5173 3 года назад
no passthrough perms
@keychera
@keychera 4 года назад
I accept my inferiority in front of ai overlords
@domoyama
@domoyama 4 года назад
驚くことにこれより強いヒト(神)がいるという
@user-vt2on9ko3h
@user-vt2on9ko3h 4 года назад
どうやってミノを同じにしてるんだろ
@FirestormMino
@FirestormMino 4 года назад
証券口座Zすき
@gd3019
@gd3019 4 года назад
テトリス版ぷよぷよ(クイドロ付き)みたいだね
@spinelly.8450
@spinelly.8450 4 года назад
When you copy your opponent's moves in Chess and it works.
@抹茶オレ-n1d3o
@抹茶オレ-n1d3o 4 года назад
なにこれぇ…
@yukiyayy6042
@yukiyayy6042 4 года назад
神もこのシンクロできるのかな?
@yuno3_MRbanban
@yuno3_MRbanban 4 года назад
こんなんじゃ勝負になんないよ
@ぴよ-t2l
@ぴよ-t2l 4 года назад
じゃんけんで勝負したら?
@haha2910
@haha2910 4 года назад
それすらシンクロするから意味ない
@noskekazu3076
@noskekazu3076 4 года назад
スコアカンストまでやってほしかった
@zz-tw5vj
@zz-tw5vj 4 года назад
オチないんかーい。
@cattail789
@cattail789 4 года назад
but who loses?!?!?!?!!?!!???!?!!1!!?!?!?!/?????11?1?1?1!!?!?!
Далее
Cold Clear Books Showcase - Puyo Puyo Tetris 2 AI
6:26
Cold Clear vs Wataame #48 - Tetris AI vs AI
13:47
Просмотров 2,7 тыс.
Cole Palmer Revenge vs Man City 🥶
00:20
Просмотров 2 млн
こういうのが見たいんだろ?
2:08
Просмотров 385 тыс.
뿌요뿌요 e스포츠 실험 몇 가지
5:22
Просмотров 27 тыс.
A Swap battle against Satan and Rulue
6:11
新DTパフェループRTA
1:20
Просмотров 63 тыс.
TETR.IO - Cleared 40 LINES with only All Clears
3:15