Skip to content

Latest commit

 

History

History
executable file
·
13 lines (10 loc) · 380 Bytes

README.md

File metadata and controls

executable file
·
13 lines (10 loc) · 380 Bytes

課題3-1

タイピングゲームを作ろう

  • 標準出力に英単語を出す(出すものは自由)
  • 標準入力から1行受け取る
  • 制限時間内に何問解けたか表示する

ヒント

  • 制限時間にはtime.After関数を用いる
    • context.WithTimeoutでもよい
  • select構文を用いる
    • 制限時間と入力を同時に待つ