◀ VibeCruiser

separo rs

A free board game — play it in your browser, no install. An implementation of SEPARO, a board game, with Monte Carlo Tree Search algorithm in Rust/wasm.

by @ToruNiina · ToruNiina/separo-rs on GitHubLANG Rust★ 20HOSTED ON TORUNIINA.GITHUB.IOUPDATED 27 Sep 2020

Vote and save it — free account with email or sign in with GitHub

Made this, @ToruNiina? See how many people played it → or use email

Controls: Mouse · Tap

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

blog post about SEPARO in English

Separoは@gfngfn氏によって考案された2人対戦用ボードゲームです。 ルールの詳細は、@gfngfn氏の個人ウェブページ佛陀ヶ谷で配布されています。

Separo-rsは、Separoをプレイするソフトウェアと、Webインターフェースを提供します。 ソフトウェアと対局できるほか、ソフトウェア同士の対局を見守ったり、人間が交互にプレイすることも可能です。

実装しているアルゴリズムは以下の通りです。Random以外は1秒間探索を行います。

可能な手から一様乱数で手を選びます。最弱です。 原始モンテカルロアルゴリズムです。可能な手からランダムプレイアウトを行い、勝率が最大の手を選択します。 信頼上限(UCB1)スコアを用いたモンテカルロ木探索アルゴリズムです。 Kocsis, Levente; Szepesvári, Csaba (2006).

このレポジトリは、rustwasm/rust-webpack-templateをもとに作成されています。

JSのベストプラクティスに詳しくないので、万一、CPU使用率が上がりすぎたり、メモリを食い尽くして落ちたりしても責任は取りません。 数回の対局を除き、デバッグをほぼしていないので、プレイ中に落ちるかも知れません。

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →