List of commercial video games with available source code
en.wikipedia.org
en.wikipedia.org
IMO, some of the most important/interesting games on this list are (in no particular order):
* Colossal Cave Adventure
* Zork
* Habitat
* SimCity
* Doom and its various incarnations.
* Quake
* Balance of Power
* Civilization IV -- Wow, this one was a surprise to me! I'm gonna poke around with it some.
* Civilization V -- Also a surprise.
* Elite
* Unreal, and its various incarnations
* Eliza
* Oregon Trail
* Akalabeth: World of Doom
* Empire (paging @WalterBright). I remember spending a lot of hours on this one. :-)
* Pac Man
* Pole Position
* Wizardry III
Maybe I've missed a few, but these are the ones that stood out to me.
To this day I think it's the best way to learn programming: read the source code of a large and successful program.
If you're looking for a chance to get into aarch64 or are curious enough, having a peek at the 1.0 versions of Splatoon 2 or Breath of the Wild is well worth it.
I have a hard time believing the courts would object to psychological research conducted this way though; would video game companies really be willing to license this way? They would be liable for any ethical violations of experimenters; it doesn't seem like it would be a simple matter from the point of view of fiduciary duty. Better to leave the men in white coats alone.
So to be perfectly safe, one would be ultra-paranoid and stick to games released in the 20th century and then frame it as a kind of historical landmark in the video game market: what do video games in the 20th century say about what we knew about operant conditioning up to that point?
Example: suppose a behaviorist foundation and ask questions about really minute details related to visual and motor processing. Another: observe the expected and actual effects on behavior.
Would you conduct a Stanford Prison Experiment style of experiment if it were done with video games? That is, the players are associated with guards and prisoners, and they play out similar roles that the original experiment outlined, but in a virtual world?
That includes Tiberian Dawn (aka the first game) and Red Alert.