## PyWeek 26: Herným vývojárom ľahko a rýchlo
#### Herným vývojárom ľahko a rýchlo
mirek@cnl.sk / [**OSS Víkend**](https://ossvikend.sk/index.html)
[![PyWeek logo](images/pyweek-logo.png)](https://pyweek.org/)
* Write a game
* in Python
* from scratch
* in exactly one week
## Reasons to participate
* Practice your Python programming
* Try programming something different
* Unleash your creativity
* Finish a real project
* Maybe, just maybe, you could win and get all the kudos
[![Pygame logo](https://steemitimages.com/0x0/https://static.wixstatic.com/media/3c6d20_da030044684048c7bedb70c1bc767813~mv2.png/v1/fill/w_768,h_304,al_c,lg_1/3c6d20_da030044684048c7bedb70c1bc767813~mv2.png)](https://www.pygame.org/news)
[![SDL logo](https://upload.wikimedia.org/wikipedia/en/e/e8/Sdl-logo.png)](https://www.libsdl.org/)
Since 1998
![Steam logo](https://www.indietoaster.com/wp-content/uploads/2018/08/steam-logo-816x459.jpg)
### Pygame Zero is for creating games without boilerplate.
![arkanoid logo](https://i.ytimg.com/vi/2bdFsD_0HXI/maxresdefault.jpg)
[![Kenny advert](https://steamcdn-a.akamaihd.net/steam/apps/363550/header.jpg)](https://kenney.nl/)
## Installation
* Raspberry Pi - builtin
* `sudo dnf install pgzero mu`
* `pip install pgzero mu-editor`
![Game Loop](http://gameprogrammingpatterns.com/images/game-loop-simple.png)
## Project Structure
```
.
├── game.py
├── sounds/
│ ├── tick.wav
│ └── pong.wav
└── images/
├── ball-blue.png
├── brick-green.png
├── brick-grey.png
├── brick-purple.png
├── brick-red.png
├── brick-yellow.png
└── paddle-blue.png
```
## Pygame Handles
![Pygame Handles](images/pygame.handles.png)
![qr code](https://api.qrserver.com/v1/create-qr-code/?data=https://bit.ly/2S29QSg&size=300x300)
(**https://bit.ly/2S29QSg**)
## Links
* [this presentation](http://bit.ly/2S29QSg)
* [PyWeek](https://pyweek.org/)
* [Pygame Zero homepage](https://pygame-zero.readthedocs.io/) ([sk](https://pgzero-slovak.readthedocs.io/sk/latest/index.html))
* [Game Implementation from Conference Live Coding@github](https://github.com/bletvaska/arkanoid)