title: Have any classic NES games been open-sourced?
body: <p>I just played a game of RBI Baseball in a browser window.</p>
  
  <p>That in and of itself strikes me as simply amazing. When I was young, the NES was a magical box, capable of providing hours of enjoyment to young kids throughout the world.</p>
  
  <p>Now, decades later, I'm a programmer. And I can appreciate the programming that went into games that were developed with more primitive hardware just a couple of decades ago. In fact someday, I fully expect that code from some of these games will be enshrined in the Smithsonian.</p>
  
  <p>My Programming Question:</p>
  
  <blockquote>
    <p>Have any classic NES games (like RBI
    Baseball) been open-sourced, and if so, where can I find code to study?</p>
    
    <p>Failing that, are there <em>any</em> NES games for which source code is available to study?</p>
  </blockquote>
  
  <p>I think it would be worthwhile to learn from their example.</p>
  
  <p>For instance:</p>
  
  <ul>
  <li>Did they use object-oriented programming?</li>
  <li>Did they use design-patterns to keep the code maintainable?</li>
  </ul>