Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ハイパーロボットをスレッド化 #910

Merged
merged 8 commits into from
Jul 24, 2024
Merged

Conversation

hakatashi
Copy link
Member

@hakatashi hakatashi commented Jul 18, 2024

したこと

1人プレイのハイパーロボットをスレッド化した

ricochet-robots

  • スレッド化した1人プレイのハイパーロボットのロジックを新たなクラス SinglePlayRicochetRobot に実装し、ricochet-robots/index.tsから呼び出した
  • ricochet-robots/index.tsにある1人プレイのコードはとりあえず残してある (そのうち消す)

AteQuiz

  • answerMessageGenでanswerMessageを動的に生成できるようにした
  • solvedMessageGenをasync関数でオーバーライドできるようにした
  • 最初のメッセージをもう一度投稿するrepostProblemMessage関数を実装した

スクショ

スレッド外での見え方

image

最短の場合

image

最短でない場合

image

@hakatashi hakatashi self-assigned this Jul 18, 2024
@hakatashi hakatashi marked this pull request as ready for review July 18, 2024 13:12
Copy link
Contributor

@settyan117 settyan117 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@satos---jp
Copy link
Contributor

動いてそうなので、ヨシ!(ありがとううございます:hakatashi-kansha:)

@hakatashi hakatashi merged commit 5696487 into master Jul 24, 2024
4 checks passed
@hakatashi hakatashi deleted the ricochet-robots-thread branch July 24, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants