Month: June 2015

Piader – upgrade LCD by game – part 1

Lets do some upgrades to our LCD package. I think the best way to do so is to write a simple game.

We will use both screens to display game objects, on one there will be flying DMO (defined moving object :D), and on second lcd – a player. Enemy and player will be trying to hit each other with bullets. Simple concept but exactly what we need.

Lets name it Piader. 

Source available at the bottom of this post.

(more…)

Advertisements

Refactoring – Pylint as a guide

First Jenkins pass was quite unpleasant, huge amount of violations. Mainly wrong named variables and lack of doc block.

To make long thing short, after many changes code is almost perfect (according to Pylint). Went from 120 problems to 1 🙂 Refactored code is available at the end of this post.

(more…)