Title: Programming game and web applications
1Programming game and web applications
2 Computer games
- A world constructed of
- mathematics
- and
- logic
3Life in a coordinate system
- 1)The scene of the game is a coordinate
system and - 2) everything that goes on in the game world is
modelled with logic and mahtematical formulas-
4 History
-
- Seymor Papert started MIT artificial
intelligence laboratory in the 60 s. -
- Logo, programming languge for young
children, were developed. -
- Programmable toys
-
- Lego mindstorm
-
5Research shows positive effects
- 1) Understanding mathematical concepts more
deeply -
- 2) Solving more difficult problems
- 3) Increased problem solving skills
6Response from the University
- Very encouraging
- This is exactly what we want the students to
know. - Per Jönsson Professor in Physics
Malmö university - 1) the basics of programming
- 2) solid ground for futher matimatical studies
7So..
- Highly interesting for the students
- Reasearch shows good results
- Learning programming early gives huge advantages
at university - Why on earth is not everybody doing this?
8200-300 years old (2000)
Game programming interesting
complement
9Key aspects of Game development
- 1) Constructing pictures of game characters and
the background scenes - Adobe Illustrator
- Adobe Photoshop
- 2) Writing the code that makes your characters
come alive - C
- C
- JavaScript
10 Slope Gradient Deltax Deltay
- Scenes where game characters climb stairs
111) Build the stairs
122) Write the code
function stairstep()xx0.03yy0.02
13(No Transcript)
14Inequality is a forbidden area
if( -0.20 lt y lt-0.18) the character are allowed
to walk
15 Linear expressions
if ( posylt -1.5posx 1.74) posx posx
0.005f
16(No Transcript)
17Fractions, percentage and symmetry
18 19 Quadratic expressions
- Canon ball
- Path over the bridge
- The path of a hot air balloon
20luftballong.html
21 Phytagoras theorem
22The game character Goblin
23Symmetry and proportions
24Math used in building a website
- Online calendar
- Personal organizer
- Photo gallery
- Web TV
- Blog
- Chat
25Animated buttons
26 Menu bar coordinate geometry
27Layout percentage calculation
28Incorporating smaller boxes
29Css-kod
30A promising complement to traditional education
31Unique possibilities to play with and explore
mathematical concepts
32Applications for all mathematical concepts
students are to learn at collegeabyrintspel
33 Interest / Motivation
34Increases problem solving skills
35Increase the understanding of algebraic concepts
as function and variable
36University approval and encouragement
37Our results /indicates vet inte vad vi ska göra
av detta?
- A conventional math book does not give any
respons - All input initiative / impulses must come from
the student. - While working towards a computer in programming
the student get instant respons of everything. - an understanding is built together with the
computer- If the ballon goes down instead of up
the student might get an idea of what is wrong
and what it takes to get it right. - This sure makes our job easier there is never a
question of why do we have to learn this or why
do we have to express everything in algebraic
formulas? That is the only language the computer
undrstands. The student is forced to express
their ideas in the formul langage understood by
the computer.