0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

5*5のスライドパズルをJavaScriptで作ってみた

Last updated at Posted at 2025-05-25

一応5*5のパズルも作ってみた。

背景

前回作った4*4の正式名称良く分からないパズルですが、ちょっと定義変更すれば良いので、サイズを拡張してみました。
特に情報の新規性はない、やってみた系の記事です。
環境によってはスクリプテッドAIはHARDを240秒くらいで解いてくれます。
勝てそうですかね?

<スクリプテッドAIの端末別HARD挑戦記録>

CPU ブラウザ 所要時間
Kirin 659(p20lite) chrome 908秒
Kirin 960(honor9) chrome 720秒
Snapdragon 820(XperiaXZ) chrome 676秒
Kirin 950(honor8) chrome 639秒
Kirin 710(mediapadm5lite) chrome 536秒
Snapdragon 845(Pixel 3) chrome 460秒
A4-9120C(Chromebook 300e 2G) chrome 452秒
Snapdragon 695 5G(Xperia10IV) chrome 386秒
Core m3 8100Y(win10) chrome 375秒
Core i5-4250U(macbookair2013) safari 375秒
Snapdragon 720G(Rakuten Hand) chrome 367秒
Core i5-4300U(win10) chrome 345秒
A10(iPad7gen) safari 330秒
A10 5800K(win10) chrome 307秒
Xeon X3460(win10) chrome 284秒
Xeon E3-1270v3(win10) chrome 250秒
Core i7-8700b(macmini2018) safari 248秒
Core i7-3770(imac2012) safari 246秒
A13(iPhoneSE2) chrome 238秒
A13(iPhoneSE2) safari 238秒

#iPhone7、iPhone8、LenovoTBX505F : メモリ不足で完走不可。
imac2012、かなり古い端末なのに大健闘。
相変わらずiPhoneが強い。


デモ

ソース

前回記事


0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?