狐がひと跳びで本命に直行する演出(約20%)を追加#187
Merged
Merged
Conversation
毎回2〜3回のフェイクアウトだと展開が読めるため、約20%の確率でおとり無しに 寝床から本命ビンへ直行するパターンを混ぜる。直行時は本命着地の演出 (長い溜め・長い滞空)を最初のジャンプに適用する。 抽選結果はサーバー(kuda物理乱数)決定のままで、演出のみの変更。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Contributor
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
kojira
pushed a commit
that referenced
this pull request
Jul 20, 2026
kojira
pushed a commit
that referenced
this pull request
Jul 20, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
おみくじ演出の狐は現在、必ずダミービンを2〜3回経由してから本命に着地します(3〜4ジャンプ)。展開が読めてしまうため、約20%の確率でおとり無しに寝床から本命ビンへひと跳びで直行するパターンを追加します。
変更
omikujiFox.jsのfoxHopSequence: 冒頭でrnd() < DIRECT_HOP_RATE(0.2)なら[targetBin](長さ1)を返す。rnd注入可能な純関数の設計は維持OmikujiScene.vueのstartHops: ひと跳び直行時は最初のジャンプに本命着地の演出(溜め780ms・滞空950ms)を適用。着地後は既存の終端処理(happyポーズ+ビン発光+1秒→結果表示)がそのまま働く抽選結果(tier)はサーバー(kuda物理乱数)決定のままで、演出のみの変更です(演出用Math.randomは既存の使用実績あり)。狐は targetTier がサーバーから届くまで跳ばない既存ゲートを通るため、ジャンプ短縮によるレースはありません。
検証
[target]のみ / 非直行時は末尾=本命・おとりは本命/直前と重複なし)違反ゼロ[3]、rnd=0.20→[0,6,3]yarn generate成功🤖 Generated with Claude Code
https://claude.ai/code/session_01DwkB6Hj2JggoKcy7FoxNcU
Generated by Claude Code