To create a player we should understand a bit of object oriented programming. Yes we could use a simple fillRect
method and call it a day, but if we know how to transform this method to be used cohesively within a class, our code instantly becomes easier to read and manage.