Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
92
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
64
TDD Talk Slides
damir
0
56
1 + 1 = OVER 9000!!!
damir
0
79
Rails Stack Overview
damir
1
100
OOP and FP: Bridging the Gap
damir
0
110
Did We Forget the Benefits of RDBMS?
damir
1
88
Ruby on Rails kurs: instalacija
damir
0
150
I don't like Rails anymore: an exploration of web application architecture design with Ruby
damir
0
500
Lotus.rb
damir
2
330
Other Decks in Programming
See All in Programming
CSC305 Lecture 17
javiergs
PRO
0
340
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
420
ID管理機能開発の裏側 高速にSaaS連携を実現したチームのAI活用編
atzzcokek
0
210
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
26
22k
Microservices rules: What good looks like
cer
PRO
0
1.1k
非同期処理の迷宮を抜ける: 初学者がつまづく構造的な原因
pd1xx
1
700
チームをチームにするEM
hitode909
0
290
dnx で実行できるコマンド、作ってみました
tomohisa
0
140
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
8
2.3k
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
790
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
310
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
380
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
970
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Optimizing for Happiness
mojombo
379
70k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Unsuck your backbone
ammeep
671
58k
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