Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Teaching Programming through Game Development
Search
Damir
October 17, 2014
Programming
0
87
Teaching Programming through Game Development
Slides for Sarajevo GameDev Meetup
Damir
October 17, 2014
Tweet
Share
More Decks by Damir
See All by Damir
A Tool Belt of a Seasond Bug Hunter
damir
0
60
TDD Talk Slides
damir
0
53
1 + 1 = OVER 9000!!!
damir
0
74
Rails Stack Overview
damir
1
97
OOP and FP: Bridging the Gap
damir
0
110
Did We Forget the Benefits of RDBMS?
damir
1
85
Ruby on Rails kurs: instalacija
damir
0
140
I don't like Rails anymore: an exploration of web application architecture design with Ruby
damir
0
490
Lotus.rb
damir
2
330
Other Decks in Programming
See All in Programming
PipeCDのプラグイン化で目指すところ
warashi
1
300
商品比較サービス「マイベスト」における パーソナライズレコメンドの第一歩
ucchiii43
0
180
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
0
300
フロントエンドのパフォーマンスチューニング
koukimiura
5
2k
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
2
660
Python型ヒント完全ガイド 初心者でも分かる、現代的で実践的な使い方
mickey_kubo
1
240
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
200
Porting a visionOS App to Android XR
akkeylab
0
680
ふつうの技術スタックでアート作品を作ってみる
akira888
1
1.3k
RailsGirls IZUMO スポンサーLT
16bitidol
0
200
MCPを使ってイベントソーシングのAIコーディングを効率化する / Streamlining Event Sourcing AI Coding with MCP
tomohisa
0
170
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
23
9.6k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Adopting Sorbet at Scale
ufuk
77
9.5k
Code Reviewing Like a Champion
maltzj
524
40k
It's Worth the Effort
3n
185
28k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
RailsConf 2023
tenderlove
30
1.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Testing 201, or: Great Expectations
jmmastey
43
7.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
990
Transcript
Učenje programiranja kroz razvoj igara Damir Zekić @sidonath
None
Koji programski jezik učiti prvi?
That's not the right question!
Koji programski jezik učiti prvi? Kako programiranje učiniti zabavnim?
Pravljenje igara
Igra treba biti… … poznata … dovoljno jednostavna za napraviti
… prepoznatljiva i u reduciranoj formi → zabavnije je praviti nešto što znamo → ne želimo komplikovati → kako ne bismo morali riješiti svaki detalj
None
Za napraviti… Animacija ptice Kretanje cijevi Korištenje spriteova ! Collision
detection Brojanje poena High-scores
Ruby https://github.com/mribica/ruby-flappy-bird
None
Shoes.app :width => 300 do background "assets/bg.png" @gravity = 0
@bird_x = 0.5 @bird_y = 0 ! @bird = image "assets/bird.png" @bird.move @bird_x, @bird_y ! @pipe_x = 0.9 @pipe_y = 0.7 @pipe = image "assets/pipe.png" @pipe.move @pipe_x, @pipe_y ! @animate = animate(20) do @gravity = @gravity + 0.002 @bird_y = @bird_y + @gravity @bird.move @bird_x, @bird_y ! @pipe_x = @pipe_x - 0.02 if @pipe_x < -0.2 @pipe_x = 0.9 end @pipe.move @pipe_x, @pipe_y ! if (@bird_y > 1) || (@pipe_x < 0.6 && @pipe_x > 0.3 && @bird_y > @pipe_y) title "Game over!" @animate.stop end end ! keypress do |key| @gravity = -0.02 end end
None
Academy387 — Uvod u programiranje za mlade (Muamer Ribica) Noć
istraživača 2014 — Pravimo igru za 3 sata (Muamer Ribica & Damir Zekić)
None
None
Processing https://github.com/sidonath/processing-flappy-bird-clone
None
Academy387 — Programiranje za neprogramere (Damir Zekić)
Pitanja? Iskustva? Damir Zekić @sidonath