Learning Python update #4 - the break to have a baby!

By Jamkir | what_better_time_than_now | 10 May 2022


Sometimes Life Happens!

 

Welcoming my second child into the world meant that I couldn't get as much coding time as I would have hoped for.  She arrived into the world in a straightforward way, but we then had a difficult couple of weeks whilst she underwent heart surgery. Dividing my time between caring for my son, and visiting my wife and daughter in hospital, has meant my programming has taken a slower progress, and certainly telling the world about it was the least of my priorities!

But that being said, it was not a completely inactive period.  I completed the programming course and made another game!

Bat'n Ball

The nature of the game is a simple bat and ball scenario, whereby the aim is to keep the ball bouncing as long as possible.  The project builds upon the knowledge learned in the minesweeper game and adds the challenges of moving game pieces (the bat and the ball).  I had a lot of 'ah-hah!' moments writing this fun programme. It was a rewarding achievement to play the final version of the game:

4f2018c1baa69d6e95285fde33a5ac523fe303b1725d4ed6cc6a625d52dd1d35.png

Although looking fairly basic, it has provided a good understanding of various Python language concepts.  I decided to modify the code and by adding loops that increased the speed and difficulty:

d6c2d7b4890e44bc4c1c2a6cb3d1e5a68ccfbd656a96975f26f0ed08b2febf93.png

 

What's next?

Good question, I'm fairly happy with what I've written so far. Once life gets back to whatever normal will be, I'll be looking to do some tweaking of the crypto headline generator.  

I also plan on building a bot that tracks my crypto portfolio, this will be a bigger project and very much still in the planning phases.

 

Apologies for the short update, I can hear the baby calling!

Take it easy people :)

How do you rate this article?


4

0


what_better_time_than_now
what_better_time_than_now

From the amazing RATM song, Guerilla Radio, the inspirational lines spoken by Zach del-la-Rocha are: "It has to start somewhere, it has to start sometime... what better place than here, what better time than now" And coupled with an understanding that our time here is limited, ask yourself - "Why Not"? This blog will be where I haphazardly share my progress in a number of things, mainly coding, learning Italian, buying cryptocurrency and NFTs etc.

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.