Skip to content
No description, website, or topics provided.
Python Visual Basic .NET
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


The project was inspired by the BASIC computer game "C.I.A. Adventure", written by Hugh Lampert in 1980, and by a tiny four-room adventure world used in a reinforcement learning project by MIT's summer 2019 6.86x machine learning course.

This project is intended to implement:

  • An engine for driving text-based adventure games
  • A full-fidelity python version of the entire C.I.A. adventure game, which uses the engine
  • The simple four-room house game, which uses the engine
  • A reinforcement learning framework for solving these games
  • A modified original game that reads in a command script, allows further commands to be entered, and writes out a new command script and a text log of all game interactions

For quality control, the Python game can be driven by the log file generated by the modified original game. It reports any discrepancies between the log file and the current game's output.

Current status:

  • The python implementation of the CIA game is complete, with very high fidelity to the original game
  • The reinforcement learning framework is rewritten to be more modular and to allow differnt DQN topologies
  • The modified original BASIC game is fully functional
  • Redactions: Parts of solve/ and solve/ are redacted because they are part student responses in the 6.86x course. The solver won't work without those pieces but the games are otherwise fully playable.

To run: cia/ Play the CIA game cia/ Solve the CIA game home/ Play the Home game home/ Solve the Home game

You can’t perform that action at this time.