## Programovanie počítačových hier
miroslav.binas@tuke.sk / [**Veda v meste (Rožňava)**](http://itakademia.sk/veda-v-meste/)
## Hráte sa počítačové hry?
![Assassins Creed Black Flag](images/assassins.creed.jpg)
![TIS-100](images/tis.100.jpg)
## Naprogramovali ste si vlastnú počítačovú hru?
[![Pygame logo](images/logo-pygame.png)](https://www.pygame.org/news)
[![SDL logo](images/logo-sdl.png)](https://www.libsdl.org/)
Since 1998
![Steam logo](images/logo-steam.jpg)
### Pygame Zero is for creating games without boilerplate.
![Flappy Bird](images/flappy.gif)
![Game Loop](images/game-loop-simple.png)
Note:
* http://gameprogrammingpatterns.com/images/game-loop-simple.png
## 2D Coordinate System
![2D Coordinate System](images/2d.coordinate.system.png)
![Game Analysis](images/analysis.png)
Note:
* https://www.researchgate.net/publication/324066514_Playing_Flappy_Bird_with_Deep_Reinforcement_Learning
## Pygame Handles
![Pygame Handles](images/handles.png)
![qr code](https://api.qrserver.com/v1/create-qr-code/?data=http://bit.ly/34yXsi6&size=300x300)
(**http://bit.ly/34yXsi6**)
## Links
* [výsledný projekt z predášky](flappy.zip) - Flappy Bird
* [Pygame Zero homepage](https://pygame-zero.readthedocs.io/) ([sk](https://pgzero-slovak.readthedocs.io/sk/latest/index.html))
* [Wireframe](https://wireframe.raspberrypi.org/) Magazine
* [MagPi](https://www.raspberrypi.org/magpi/) Magazine
* [Mission Python](https://nostarch.com/missionpython) ([YouTube Video](https://www.youtube.com/watch?time_continue=2&v=_2aglIeW1kQ))
* [Tvorba počítačových hier s Pygame Zero](https://legacy.gitbook.com/book/bletvaska/tvorba-pocitacovych-hier-s-pygame-zero/details) - poznámky ku tvorivej dielni