# First little game, feedback welcome

**URL:** <https://discourse.processing.org/t/first-little-game-feedback-welcome/22279>\
**Category:** Coding Questions\
**Created:** [June 30, 2020, 11:23am UTC](https://discourse.processing.org/t/first-little-game-feedback-welcome/22279 "2020-06-30T11:23:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Spaceman1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/spaceman1/32/9970_2.png) [@Spaceman1](https://discourse.processing.org/u/Spaceman1)\
**Post date:** [June 30, 2020, 11:45pm UTC](https://discourse.processing.org/t/first-little-game-feedback-welcome/22279/2 "2020-06-30T23:45:38Z")

</div>

In my opinion your code would really be improved by using object- oriented program. You can create separate classes to store that long list of variables in the beginning of your program. For example you can create a ‘Ball’ , ‘Racket’ and ‘Airplane’ class. Check out [processing’s tutorial on OOP](https://processing.org/tutorials/objects/)

---

_[View the full topic](https://discourse.processing.org/t/first-little-game-feedback-welcome/22279)._
