ProCodeCG Kids Programming Class 10 Oct 2015 – Creating Games with Python

Standard

Today, we learned to create a game with Python. We did it with GameMaker, and it was very quick and straightforward. Today we rewrited it in Python and learned lots of things!

IMG_7995

We created a game where a player can control a submarine to pop bubbles.

IMG_7996

We created a window, put a submarine on it and made functions to control it.

IMG_7997

We also created some random functions to create the bubbles, with different position, different size and different time.

IMG_7998

We also had to define functions to keep the bubbles in a list, and create a function to delete them from the window when they pops (and delete them from the list as well, of course).

IMG_7999

So that we also had to create functions to detect the submarine and bubbles positions, and define a collision.

IMG_8001

The player will get the score when the submarine hit a bubble. We typed lots of line of codes instead of just clicking and type a bit with GameMaker, but today we learned a lot about logics, sequences and math functions!

IMG_8002

Yaaaay, our first game in Python! πŸ˜‰

Bildschirmfoto 2015-10-10 um 7.17.05 nachm.

ProCodeCG Kids are flexible and fast-learners programmers. We might learn different things every week, but we have a strong core in logics and algorithm πŸ˜‰

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s