├── .editorconfig ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.rst ├── pyfiction ├── __init__.py ├── agents │ ├── __init__.py │ ├── agent.py │ ├── random_agent.py │ └── ssaqn_agent.py ├── examples │ ├── catsimulator2016 │ │ ├── lstm_online.py │ │ └── vocabulary.txt │ ├── generalisation │ │ ├── all.h5 │ │ ├── generalisation.py │ │ ├── interactive_test.py │ │ ├── transfer.py │ │ └── vocabulary.txt │ ├── interactive.py │ ├── machineofdeath │ │ ├── lstm_online.py │ │ ├── paraphrased.py │ │ └── vocabulary.txt │ ├── savingjohn │ │ ├── lstm_offline_glove.py │ │ ├── lstm_online.py │ │ └── vocabulary.txt │ ├── six │ │ └── random_walker.py │ ├── starcourt │ │ ├── concat_vocabulary.py │ │ ├── lstm_online.py │ │ └── vocabulary.txt │ ├── theredhair │ │ ├── lstm_online.py │ │ └── vocabulary.txt │ └── transit │ │ ├── lstm_online.py │ │ └── vocabulary.txt ├── games │ ├── CatSimulator2016 │ │ ├── __init__.py │ │ ├── cat_simulator_2016.py │ │ └── index.html │ ├── ChildsPlay │ │ ├── ChildsPlay.zblorb │ │ └── __init__.py │ ├── HowlingDogs │ │ ├── __init__.py │ │ ├── howling_dogs.py │ │ └── index.html │ ├── MachineOfDeath │ │ ├── __init__.py │ │ └── machine_of_death.py │ ├── README.rst │ ├── SavingJohn │ │ ├── __init__.py │ │ └── saving_john.py │ ├── Six │ │ ├── Six.gblorb │ │ ├── __init__.py │ │ ├── six.py │ │ └── six.sh │ ├── StarCourt │ │ ├── __init__.py │ │ ├── index.html │ │ └── star_court.py │ ├── TheRedHair │ │ ├── __init__.py │ │ ├── index.html │ │ ├── index_files │ │ │ ├── jquery.js │ │ │ ├── story.js │ │ │ └── style.css │ │ └── the_red_hair.py │ ├── Transit │ │ ├── __init__.py │ │ ├── index.html │ │ └── transit.py │ ├── __init__.py │ └── game.py ├── interpreters │ ├── __init__.py │ ├── glulx │ │ ├── __init__.py │ │ ├── cheapglulxe │ │ └── glulxe.py │ ├── interpreter.py │ └── zmachine │ │ └── dfrotz └── simulators │ ├── README.rst │ ├── __init__.py │ ├── games │ ├── __init__.py │ ├── catsimulator2016_simulator.py │ ├── howlingdogs_simulator.py │ ├── machineofdeath_simulator.py │ ├── savingjohn_simulator.py │ ├── six_simulator.py │ ├── starcourt_simulator.py │ ├── theredhair_simulator.py │ └── transit_simulator.py │ ├── glulx_simulator.py │ ├── html_simulator.py │ ├── nbstreamreader.py │ ├── simulator.py │ └── zmachine_simulator.py ├── setup.cfg └── setup.py /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/README.rst -------------------------------------------------------------------------------- /pyfiction/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/agents/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/agents/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/agents/agent.py -------------------------------------------------------------------------------- /pyfiction/agents/random_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/agents/random_agent.py -------------------------------------------------------------------------------- /pyfiction/agents/ssaqn_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/agents/ssaqn_agent.py -------------------------------------------------------------------------------- /pyfiction/examples/catsimulator2016/lstm_online.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/catsimulator2016/lstm_online.py -------------------------------------------------------------------------------- /pyfiction/examples/catsimulator2016/vocabulary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/catsimulator2016/vocabulary.txt -------------------------------------------------------------------------------- /pyfiction/examples/generalisation/all.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/generalisation/all.h5 -------------------------------------------------------------------------------- /pyfiction/examples/generalisation/generalisation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/generalisation/generalisation.py -------------------------------------------------------------------------------- /pyfiction/examples/generalisation/interactive_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/generalisation/interactive_test.py -------------------------------------------------------------------------------- /pyfiction/examples/generalisation/transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/generalisation/transfer.py -------------------------------------------------------------------------------- /pyfiction/examples/generalisation/vocabulary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/generalisation/vocabulary.txt -------------------------------------------------------------------------------- /pyfiction/examples/interactive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/interactive.py -------------------------------------------------------------------------------- /pyfiction/examples/machineofdeath/lstm_online.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/machineofdeath/lstm_online.py -------------------------------------------------------------------------------- /pyfiction/examples/machineofdeath/paraphrased.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/machineofdeath/paraphrased.py -------------------------------------------------------------------------------- /pyfiction/examples/machineofdeath/vocabulary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/machineofdeath/vocabulary.txt -------------------------------------------------------------------------------- /pyfiction/examples/savingjohn/lstm_offline_glove.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/savingjohn/lstm_offline_glove.py -------------------------------------------------------------------------------- /pyfiction/examples/savingjohn/lstm_online.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/savingjohn/lstm_online.py -------------------------------------------------------------------------------- /pyfiction/examples/savingjohn/vocabulary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/savingjohn/vocabulary.txt -------------------------------------------------------------------------------- /pyfiction/examples/six/random_walker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/six/random_walker.py -------------------------------------------------------------------------------- /pyfiction/examples/starcourt/concat_vocabulary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/starcourt/concat_vocabulary.py -------------------------------------------------------------------------------- /pyfiction/examples/starcourt/lstm_online.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/starcourt/lstm_online.py -------------------------------------------------------------------------------- /pyfiction/examples/starcourt/vocabulary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/starcourt/vocabulary.txt -------------------------------------------------------------------------------- /pyfiction/examples/theredhair/lstm_online.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/theredhair/lstm_online.py -------------------------------------------------------------------------------- /pyfiction/examples/theredhair/vocabulary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/theredhair/vocabulary.txt -------------------------------------------------------------------------------- /pyfiction/examples/transit/lstm_online.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/transit/lstm_online.py -------------------------------------------------------------------------------- /pyfiction/examples/transit/vocabulary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/examples/transit/vocabulary.txt -------------------------------------------------------------------------------- /pyfiction/games/CatSimulator2016/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/CatSimulator2016/cat_simulator_2016.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/CatSimulator2016/cat_simulator_2016.py -------------------------------------------------------------------------------- /pyfiction/games/CatSimulator2016/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/CatSimulator2016/index.html -------------------------------------------------------------------------------- /pyfiction/games/ChildsPlay/ChildsPlay.zblorb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/ChildsPlay/ChildsPlay.zblorb -------------------------------------------------------------------------------- /pyfiction/games/ChildsPlay/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/HowlingDogs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/HowlingDogs/howling_dogs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/HowlingDogs/howling_dogs.py -------------------------------------------------------------------------------- /pyfiction/games/HowlingDogs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/HowlingDogs/index.html -------------------------------------------------------------------------------- /pyfiction/games/MachineOfDeath/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/MachineOfDeath/machine_of_death.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/MachineOfDeath/machine_of_death.py -------------------------------------------------------------------------------- /pyfiction/games/README.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/SavingJohn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/SavingJohn/saving_john.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/SavingJohn/saving_john.py -------------------------------------------------------------------------------- /pyfiction/games/Six/Six.gblorb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/Six/Six.gblorb -------------------------------------------------------------------------------- /pyfiction/games/Six/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/Six/six.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/Six/six.py -------------------------------------------------------------------------------- /pyfiction/games/Six/six.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/Six/six.sh -------------------------------------------------------------------------------- /pyfiction/games/StarCourt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/StarCourt/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/StarCourt/index.html -------------------------------------------------------------------------------- /pyfiction/games/StarCourt/star_court.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/StarCourt/star_court.py -------------------------------------------------------------------------------- /pyfiction/games/TheRedHair/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/TheRedHair/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/TheRedHair/index.html -------------------------------------------------------------------------------- /pyfiction/games/TheRedHair/index_files/jquery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/TheRedHair/index_files/jquery.js -------------------------------------------------------------------------------- /pyfiction/games/TheRedHair/index_files/story.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/TheRedHair/index_files/story.js -------------------------------------------------------------------------------- /pyfiction/games/TheRedHair/index_files/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/TheRedHair/index_files/style.css -------------------------------------------------------------------------------- /pyfiction/games/TheRedHair/the_red_hair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/TheRedHair/the_red_hair.py -------------------------------------------------------------------------------- /pyfiction/games/Transit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/Transit/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/Transit/index.html -------------------------------------------------------------------------------- /pyfiction/games/Transit/transit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/Transit/transit.py -------------------------------------------------------------------------------- /pyfiction/games/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/games/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/games/game.py -------------------------------------------------------------------------------- /pyfiction/interpreters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/interpreters/glulx/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/interpreters/glulx/cheapglulxe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/interpreters/glulx/cheapglulxe -------------------------------------------------------------------------------- /pyfiction/interpreters/glulx/glulxe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/interpreters/glulx/glulxe.py -------------------------------------------------------------------------------- /pyfiction/interpreters/interpreter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/interpreters/interpreter.py -------------------------------------------------------------------------------- /pyfiction/interpreters/zmachine/dfrotz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/interpreters/zmachine/dfrotz -------------------------------------------------------------------------------- /pyfiction/simulators/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/README.rst -------------------------------------------------------------------------------- /pyfiction/simulators/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/simulators/games/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyfiction/simulators/games/catsimulator2016_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/catsimulator2016_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/games/howlingdogs_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/howlingdogs_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/games/machineofdeath_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/machineofdeath_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/games/savingjohn_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/savingjohn_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/games/six_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/six_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/games/starcourt_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/starcourt_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/games/theredhair_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/theredhair_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/games/transit_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/games/transit_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/glulx_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/glulx_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/html_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/html_simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/nbstreamreader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/nbstreamreader.py -------------------------------------------------------------------------------- /pyfiction/simulators/simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/simulator.py -------------------------------------------------------------------------------- /pyfiction/simulators/zmachine_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/pyfiction/simulators/zmachine_simulator.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m-k-l-s/pyfiction/HEAD/setup.py --------------------------------------------------------------------------------