Parked train livery ignores the station's configured train

オープン
#72 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
game-dev

調査の方向性

Start in TrainTravel.onRoomChange, where the parked train's livery is picked at random the first time a station is entered, and compare it with the per-station train value in the config (stations.<key>.train). Reproduce by entering Tokyo or Osaka and checking which livery is parked. Done when each station parks the livery its config names, or the per-station train field is removed; the issue leaves that choice to the maintainers, so confirm it before editing.

索引モデルが issue の本文から書いたものです。

説明

Config stations.<key>.train says Tokyo and Osaka are train-orange and Inaka/Yukimura are train-green, but TrainTravel.onRoomChange picks one random livery the first time you enter any station and keeps it for the session — a green train was parked at Tokyo Station and OsakaStation during the #17 browser run. Either park the station's own livery or drop the per-station train field.

Found while implementing #17.

主要言語
JavaScript
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

devhou-se/game のほかの issue

devhou-se/game の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。