title: How specific should my classes in a game be? (Or anywhere else for that matter)
body: <p>I made two games so far, one was a simple 2D MMO, and another one was a 2D portal clone with some more features.</p>
  
  <p>Anyway, I noticed that my class design in those two games varied a bit:</p>
  
  <p>In the MMO, I'd create a class called "Enemy", and this class would take some arguments such as <code>image</code> and <code>attack_power</code>.</p>
  
  <p>In the Portal-like game, I'd create classes for every kind of object specifically, for example  "Box" or "Wall" or "Doors". Then, these would take only <code>position</code> as an argument, and inside I'd flag them for <code>movable</code>, <code>physics</code> with <code>true/false</code>, and then I would have an update function which would act upon these objects.</p>
  
  <p>What is the best approach to this kind of problem? How specific should I be, and should I use something completely different?</p>
  
  <p>I made those games in Python and Javascript.</p>