game using processing language with OOP principles