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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Damir
October 17, 2014
Programming
100
0
Share
Teaching Programming through Game Development
Slides for Sarajevo GameDev Meetup
Damir
October 17, 2014
More Decks by Damir
See All by Damir
A Tool Belt of a Seasond Bug Hunter
damir
0
74
TDD Talk Slides
damir
0
69
1 + 1 = OVER 9000!!!
damir
0
88
Rails Stack Overview
damir
1
110
OOP and FP: Bridging the Gap
damir
0
120
Did We Forget the Benefits of RDBMS?
damir
1
94
Ruby on Rails kurs: instalacija
damir
0
160
I don't like Rails anymore: an exploration of web application architecture design with Ruby
damir
0
510
Lotus.rb
damir
2
340
Other Decks in Programming
See All in Programming
KagglerがMixSeekを触ってみた
morim
0
370
安いハードウェアでVulkan
fadis
1
920
How Swift's Type System Guides AI Agents
koher
0
160
おれのAgentic Coding 2026/03
tsukasagr
1
140
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
180
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
250
AIエージェントで業務改善してみた
taku271
0
490
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
150
Feature Toggle は捨てやすく使おう
gennei
0
430
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
350
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
130
iOS機能開発のAI環境と起きた変化
ryunakayama
0
170
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
570
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
Design in an AI World
tapps
0
190
What's in a price? How to price your products and services
michaelherold
247
13k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
97
We Are The Robots
honzajavorek
0
210
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
210
Paper Plane
katiecoart
PRO
1
49k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
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