2048のルールをベースにした「AIプレイ観察ツール」を作りました。

2048スクリーンショット

いわゆるゲームそのものというより、
“AIがどう考えて動くか”を見たり、
評価関数のパラメータを調整して挙動の違いを試せる
ちょっとした実験・研究用のアプリです。

ゲーム画面へ

AI stop ボタンを押すと自動プレイを止めて、自分でプレイすることができます。

内部では Expectimax ベースの探索に、
空きマス数・単調性・滑らかさなどの評価関数を組み合わせており、
その重みをGUIからリアルタイムに変更できます。

AIがプレイする様子を眺めながら
「この重みだと安定する」「ここを上げると崩れる」
といった変化を直感的に確認できるのが面白いところです。

簡単な統計表示やログも用意しているので、
AIの性能をざっくり比較することもできます。

興味があればこちらからどうぞ👇

https://github.com/snowdarman/2048-inference-machine
(デモ・解説・ソースなど)

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny