冬休みの宿題にEnglish Grammer in Useをやる

年末年始を使って英語の勉強をやることにした。RubyKaigiで英語のスピーチがほとんど分からなかったのでなんかやる気になった。

教科書はEnglish Grammer in Use。

English Grammar in Use with Answers and CD-ROM: A Self-Study Reference and Practice Book for Intermediate Learners of English

English Grammar in Use with Answers and CD-ROM: A Self-Study Reference and Practice Book for Intermediate Learners of English

問題集として以下のアプリも購入。

Murphy's English Grammar in Use

やり方

  • Unit 1 から順番にやる
  • 教科書の左側のページを読む、読みながらiPadのメモを使ってメモをとる
  • 問題集アプリを起動して読んだページの問題を解く、2つあるけど両方やると時間がかかるので最初の10問だけ

教科書は図入りで分かりやすく文法を紹介してくれるのでかなりよい。頑張ってみます。

やる気を持続させるために

ofrubyを使って残りのUnit数を表示するアプリを作った。

f:id:tuto0621:20141222234733p:plain

@outにその日にやったUnit数を記録していくだけ。そのうちグラフ対応もする。

TEXT_WIDTH = 8

def setup
  @out = [
    6, 5, 0, 0, 1, 0, 0, 0, 4
  ] # 12/21
  @num = @out.reduce(141) { |a, e| a - e }
end

def update
end

def draw
  set_color 255, 0, 0 if @num < 0
  translate width / 2, height / 2
  scale 5, 5

  offset_x = -@num.to_s.length * TEXT_WIDTH * 0.5
  text "#{@num}", offset_x, 0

  set_color 0, 0, 0
  text "day #{@out.size}", -18, -13
end