smalruby - the neat thing to connect rubyists and scratchers -
TRANSCRIPT
Smalruby
Speakers: Kouji Takao, Nobuyuki Honda2017.09.20 15:50 - 16:30, Dahlia #rubykaigiB, RubyKaigi 2017 at International Conference Center Hiroshima, Hiroshima, Japan
Ruby Programming Shounendan
●Promoting the joy of programming to many kids. 一人でも多くの青少年にプログラミングの喜びを!
●Building internet safety awareness for kids through programming!プログラミングを通じて青少年とネット社会との関わり方を考える組織を地域社会の中に!
4 / 48
Matsue City, Shimane
http://en.wikipedia.org/wiki/File:Japan_location_map_with_side_map_of_the_Ryukyu_Islands.svg : Maximilian Dörrbecker (Chumwa) CC-BY-SA 3.0CC by SA
Matz-e
5 / 48
Workshop●Trial:Instroducing Ruby for kids and parents
●Dojo:Computer programming clubs(like CoderDojo)
6 / 48
Development●MaterialsTextbook, Worksheet, etc.
●ToolsSmalruby: Visual programming environmentSmalrubot: Robot controlled by smalruby
7 / 48
CoderDojo●Programming club for young person aged 7 ‒ 17
●World wide 1,250 Dojo
●Over 93 Dojo in Japan
12 / 48
Background●“Fourth Industrial Revolution”第4次産業革命IoT, Big Data, AI, etc.
●Computational Thinking for elementary school in Japanプログラミング的思考
14 / 48
Computational Thinking for elementary school in Japan●Ability to think logically the following three things to realize the series of activities that you intend
自分が意図する一連の活動を実現するために次の3つのことを論理的に考えていく力
15 / 48
Computational Thinking for elementary school in Japan1. What kind of movement combination is necessary
どのような動きの組合せが必要か
16 / 48
Computational Thinking for elementary school in Japan2. How to combine symbols corresponding to each movement
一つ一つの動きに対応した記号を、どのように組み合わせたらいいのか
17 / 48
Computational Thinking for elementary school in Japan3. How can we improve the combination of symbols to get closer to the intended activities
記号の組合せをどのように改善していけば、より意図した活動に近づくのか
18 / 48
Origin of Computational Thinking for elementary school in Japan●Jeannette M. Wing, Computational Thinking, Communications of the ACM, Vol.49, No.3, pp.33-35, Mar. 2006https://www.cs.cmu.edu/~15110-s13/Wing06-ct.pdf
●翻訳中島秀之, 計算論的思考,情報処理 Vol.56 No.6June 2015https://www.cs.cmu.edu/afs/cs/usr/wing/www/ct-japanese.pdf
19 / 48
"Scratch"●Visual Programming EnvironmentProgramming Language, Script EditorPaint/Draw Editor, Sound Editor
●Web Browser Application (Flash)
●SNS (Forum)
●Remix (like GitHub's Fork)21 / 48
"Scratch"
●Over 20,000,000 users world wide●Over 200,000 users in Japan●Used by the majority of educational organizations in Japan
22 / 48
English
def sprite1.jump(v0)@v = v0until touching_color?(
0x2E, 0xFE, 0x2E)y += @v@v += -1await
endend
39
ArchitectureSmalruby::
Character Stage< Character EventHandler
WorldVariables: characters, stages, event_handlersMain Loop
41 / 48
DXRuby / dxruby_sdl●DXRuby (Windows)Game library on Windows DirectX for beginershttp://dxruby.osdn.jp/
●dxruby_sdl (Mac, Linux)DXRuby API on SDL/Rubyhttps://github.com/smalruby/dxruby_sdl
42 / 48
Conclusion●Programning Education in JapanBooks, TV ShowCoderDojo: 93 DojoCompulsory Education: For ages 6-12 & 13-15
●"Scratch”Defact standard for programming education
●SmalrubyScratch's API for RubyScratcher ≒ Rubyist
45 / 48
Ruby Programming Shounendan
●Promoting the joy of programming to many kids. 一人でも多くの青少年にプログラミングの喜びを!
●Building internet safety awareness for kids through programming!プログラミングを通じて青少年とネット社会との関わり方を考える組織を地域社会の中に!
46 / 48