In this chapter, you will start organizing the source code of the Painter game a bit more. This is necessary because as you start adding more and more things to the game, the source code will become more complicated. You will explore using methods to structure the code more logically. You’ll conclude this chapter by adding a moving ball to the game.


Frame Rate Ball Position Return Instruction Game World Current Color 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Arjan Egges 2015

Authors and Affiliations

  • Arjan Egges
    • 1
  1. 1.TBThe Netherlands

Personalised recommendations