The Python meetup gang
I love Python. It is easily my favourite programming language, so I decided to organise a meetup to teach and have a play with it along with some of my AL colleagues.
Python is an interpreted programming language that comes bundled with almost all modern Unix-like operating systems (Mac OS, Linux etc). Its English-like syntax makes it easy to pick up and understand but it’s depth and object-oriented nature (in the form of classes) make it also suited to more complex programs than something like Bash.
A very pixelated Flappy Bird implementation
I decided to implement a game, Flappy Bird which was an old iPhone game some time ago, in this first meetup. Using a single-board computer called a Raspberry Pi and a supporting piece of hardware called a Sense Hat. The Raspberry PI foundation produces both these and also supports the use of python as their main programming language of choice.
This meetup also gave me the opportunity to introduce the idea of writing code for hardware applications, something that our cloud-based engineers rarely work on. This platform also has online simulators, so rather than us all crowding around on one machine to write code we could develop code on the simulator and then run it on the hardware.
Sense Hat simulator allowing for development without actual hardware
So, after demonstrating how the game works (press up on the built-in directional pad and don’t hit the red pipes), I went through the code line by line to explain how the program worked.
Although there were engineers with differing levels of python experience the code was straightforward enough to be understood. After the explanation, it was then up to the engineers to implement their own games using the code that I’d provided them.
One of the flappy bird alternatives with a different colour scheme
These varied from giving the birds extra ammunition, to changing the game physics, one engineer even implemented Conway’s Game of Life.
I would definitely recommend other engineers organise meetups. Even if you don’t have a lot of experience in a particular language/technology, you can go through and learn the language together or pair with less experienced people.
Interested in more tech-related content? Check out our Engineering Hub.
We work with our clients to de-risk and accelerate their business goals realisation. Our approach is based on tailoring our services to fit your needs leveraging our portfolio of strategy, execution, innovation and service delivery offerings to help you reach your objectives
We’re always on the lookout for exceptional talent and people who share our values. Even as we continue to grow, we maintain a family environment with respect and teamwork core to our culture.
Companies can start deploying containerised workloads to Kubernetes In days not months, by leveraging Automation Logic’s Kubernetes Platform Accelerator.
Largest Irish-Founded Tech Employer Surpasses 3000 Employees Signing 15th and 16th Acquisition Deals Version 1, a leading digital transformation partner, is to acquire Automation Logic – for an undisclosed sum as part of its ambitious growth strategy for 2023 and beyond. The Automation Logic deal is subject to clearance by the National Security and Investment […]
Automation Logic were recognised as one of the UK’s best Workplaces again for the 5th year running! We also placed 29th in best workplaces for women. This highlights the great work that we are doing as a business, including all the wonderful work being put in by the employee-led DE&I groups. This award means so […]