開発ノートDev notes
WAITROOM を作るなかで、実際に測ったこと、決めたこと、つまずいたことを書き残しています。遊ぶ人に関係のある話を中心に、できるだけ専門用語を使わずにまとめています。What we measured, decided and tripped over while building WAITROOM. We focus on what matters to players and keep jargon to a minimum.
タップしてから反応するまでを実機で測った ── 28ms の内訳Measuring tap latency on a real phone: where the 28 ms goes
反射神経を競うゲームでは、端末の遅れがそのまま記録に混ざります。iPhone の実機で「画面に触れてから画面が変わるまで」を測ったところ、中央値は 28ms でした。その内訳と、そこから決めた判定の方法をまとめます。In reflex games, any delay in the device ends up in your record. We measured the time from touching the screen to the screen changing on a real iPhone: the median was 28 ms. Here is the breakdown, and how it shaped the way we judge taps.
電波の届かない列でも遊べるようにした ── 一度も開いていないゲームまでPlayable in a queue with no signal, even games you have never opened
地下の通路や建物の中の列では、電波が届かないことがよくあります。WAITROOM は、トップページを一度開いた端末なら、まだ遊んだことのないゲームでも電波なしで遊べます。そのために必要だった3つのことと、気づきにくかった落とし穴を書きます。Underground passages and indoor queues often have no signal. On any device that has opened the home page once, WAITROOM plays offline, even games you have never tried. Here are the three things that took, and the traps that were hard to spot.
誰にもズルができないサイコロ ── ハッタリ飛び石の「封」Dice nobody can cheat: the “seal” in Bluff Stones
ハッタリ飛び石は、自分だけが見たサイコロの目を宣言し、ほかの人がそのウソを見抜くゲームです。それぞれの端末で遊ぶとき、目を誰が決めればズルができないのか。その答えとして使っている「封」の仕組みを説明します。In Bluff Stones you call out a die roll only you saw, and everyone else tries to spot the lie. When everyone plays on their own device, who should decide the roll so that nobody can cheat? Here is the “seal” we use.
どの端末でも同じ難しさにする ── 「種」と、60Hz と 120Hz の話The same difficulty on every device: seeds, 60 Hz and 120 Hz
対戦では、全員が同じ問題を同じ速さで遊べなければ公平になりません。WAITROOM が問題を「種」から作る理由と、画面の書き換えの速さ(60Hz と 120Hz)で難しさが変わらないようにした工夫を紹介します。A match is only fair if everyone plays the same problem at the same speed. Here is why WAITROOM builds every problem from a “seed”, and how we keep screen refresh rates (60 Hz vs 120 Hz) from changing the difficulty.