I'm just starting out as a game developer, and I'm finding some difficulty when naming classes.
I usually call the class that handles everything World
, Map
, or Grid
. Then there's the names, inside.
For example, I'm making a Frogger clone, and I have a class for everything that moves on screen (I try to use MVC and I'm talking about the model here - I have Sprite
classes in the view), and I named it Object
for lack of a better name. Then there's a subclass from Object
which I named Frog
(though I could name it Player
) and another one for the things controlled by the computer, which I don't know what to call (it could be Enemy
or Obstacle
or something appropriate for cars and trucks). This class also includes the turtles, which are more like helpful objects, yet are not powerups.
How should I manage my naming conventions?