From b20a4771230f2cdd7e9484aecc6cf021df4acc76 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 27 Mar 2020 03:42:07 +0500 Subject: [PATCH 01/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 92a5d38..55ad942 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Designed as a set of examples for developing [interactive fiction](http://www.if ## How to play -1. Download the story-file on the [release page](https://github.com/He4eT/tads3_experiment/releases) +1. Download `yet_another_experiment.t3` from the [release page](https://github.com/He4eT/tads3_experiment/releases) 1. Install the interpreter that supports TADS adventure games (see the list below) ### List of interpreters From 8164d72c4f36d0f4edd35203efa123747006e469 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 27 Mar 2020 03:43:49 +0500 Subject: [PATCH 02/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55ad942..401ee10 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ the full list of "bricks" on [this page](/docs/table_of_contents.md). 1. Clone this repo 1. Install [frobtads](https://github.com/realnc/frobtads) 1. Copy `frobtads/tads3/lib/` to `project_path/lib/` - 1. Copy `frobtads/tads3/include/`to `project_path/lib/include/` + 1. Copy `frobtads/tads3/include/` to `project_path/lib/include/` ### Build ``` From 5a9785d10fdcda6aad2514f30bef2a9142b6048e Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 27 Mar 2020 03:51:20 +0500 Subject: [PATCH 03/14] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..63265ca --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 He4eT + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 96d7d73c718ddf8f607fc460e16560bf09c7b373 Mon Sep 17 00:00:00 2001 From: He4eT Date: Fri, 27 Mar 2020 13:43:59 +0500 Subject: [PATCH 04/14] versionInfo: link to github --- experiment.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/experiment.t b/experiment.t index fe1a4bd..2ebe299 100644 --- a/experiment.t +++ b/experiment.t @@ -10,7 +10,8 @@ versionInfo: GameID showAbout () { " << desc >>
Designed as a small set of - useful examples for developers. "; + useful examples for developers.\b + https://github.com/He4eT/tads3_experiment/"; } byline = 'by He4eT' From 0b4160d5793d14b6e96aa58c4e6e752bea6b3214 Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 27 Mar 2020 14:42:32 +0500 Subject: [PATCH 05/14] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 401ee10..726fe26 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Yet another experiment +[![IFDB](https://img.shields.io/badge/IFDB-page-lightgrey?style=flat-square)](https://ifdb.tads.org/viewgame?id=rsssdo3anjpwnt6e) + A small "escape the room" style [TADS3](https://www.tads.org/) game. Designed as a set of examples for developing [interactive fiction](http://www.ifwiki.org/index.php/FAQ). @@ -9,6 +11,7 @@ Designed as a set of examples for developing [interactive fiction](http://www.if 1. Download `yet_another_experiment.t3` from the [release page](https://github.com/He4eT/tads3_experiment/releases) 1. Install the interpreter that supports TADS adventure games (see the list below) +1. See this [cheat sheet](http://pr-if.org/doc/play-if-card/play-if-card-300dpi.png) if you are not familiar with interactive fiction ### List of interpreters From ba1a9e7d3933d5819455d778e0ac12521b34156f Mon Sep 17 00:00:00 2001 From: He4eT Date: Fri, 27 Mar 2020 14:49:12 +0500 Subject: [PATCH 06/14] Move 'map.md' to 'dosc/' --- map.md => docs/map.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename map.md => docs/map.md (100%) diff --git a/map.md b/docs/map.md similarity index 100% rename from map.md rename to docs/map.md From ff37702bc464f7ce951b455fb784c17bbdbe6f0a Mon Sep 17 00:00:00 2001 From: He4eT Date: Sat, 28 Mar 2020 00:28:03 +0500 Subject: [PATCH 07/14] Move 'screenshot.png' to 'docs/' --- README.md | 2 +- screenshot.png => docs/screenshot.png | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename screenshot.png => docs/screenshot.png (100%) diff --git a/README.md b/README.md index 726fe26..6a11da3 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A small "escape the room" style [TADS3](https://www.tads.org/) game. Designed as a set of examples for developing [interactive fiction](http://www.ifwiki.org/index.php/FAQ). -![screenshot](/screenshot.png?raw=true) +![screenshot](/docs/screenshot.png?raw=true) ## How to play diff --git a/screenshot.png b/docs/screenshot.png similarity index 100% rename from screenshot.png rename to docs/screenshot.png From 709931441b259e086b620bbec2300abeef6a7559 Mon Sep 17 00:00:00 2001 From: He4eT Date: Sat, 28 Mar 2020 00:38:23 +0500 Subject: [PATCH 08/14] Walkthrough --- test/walkthrough | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 test/walkthrough diff --git a/test/walkthrough b/test/walkthrough new file mode 100644 index 0000000..16ff09b --- /dev/null +++ b/test/walkthrough @@ -0,0 +1,33 @@ +>turn on the light +>w +>open locker +>take floss +>e +>s +>s +>take tape +>w +>open dumpster +>take cloth +>search cloth +>take key +>e +>unlock door +>e +>x assistant +>x cable +>x connector +>fix connector with floss +>plug cable in robot +>x robot +>a team +>a Alice +>w +>w +>type 1984 on keypad +>x middle locker +>take keycard +>unlock elevator with the keycard +>s +>e +>q From 73093d97e7239cb9cf02f5b75f0e6fb488fed9ed Mon Sep 17 00:00:00 2001 From: He4eT Date: Sun, 29 Mar 2020 12:20:30 +0500 Subject: [PATCH 09/14] Elevator key check --- src/item/elevator.t | 11 +++++++---- test/unlockElevatorWithWrongKey | 13 +++++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 test/unlockElevatorWithWrongKey diff --git a/src/item/elevator.t b/src/item/elevator.t index 16b729f..801a54f 100644 --- a/src/item/elevator.t +++ b/src/item/elevator.t @@ -18,10 +18,13 @@ elevatorDoor: LockableWithKey, Door dobjFor (UnlockWith) { action () { - inherited; - self.makeOpen(true); - " A few seconds later - the elevator arrived on the floor. "; + if (keyFitsLock(gIobj)) { + self.makeOpen(true); + " A few seconds later + the elevator arrived on the floor. "; + } else { + " You can't apply this to a card reader. "; + } } } diff --git a/test/unlockElevatorWithWrongKey b/test/unlockElevatorWithWrongKey new file mode 100644 index 0000000..fa039ec --- /dev/null +++ b/test/unlockElevatorWithWrongKey @@ -0,0 +1,13 @@ +>turn on the light +>w +>open locker +>take floss +>e +>s +>s +>take tape +>w +>open dumpster +>search cloth +>take key +>unlock elevator with tubular key From fec81559ca210af7f61528e7d7d26112216fd78e Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 18 Jan 2021 14:39:25 +0500 Subject: [PATCH 10/14] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a11da3..dca92c1 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,12 @@ the full list of "bricks" on [this page](/docs/table_of_contents.md). ### Build ``` -t3make -f experiment +t3make -f yet_another_experiment ``` ### Incremental build ``` -watch -n 1 t3make -d -we -nobanner -f experiment +watch -n 1 t3make -d -we -nobanner -f yet_another_experiment ``` ## Tutorials and documentation From 88ee9d6763f712b5f6775db4b1ee69e5bd1c36e3 Mon Sep 17 00:00:00 2001 From: Alexey Date: Sat, 24 Jul 2021 23:38:11 +0500 Subject: [PATCH 11/14] Update README.md --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dca92c1..f63f4b3 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,19 @@ Designed as a set of examples for developing [interactive fiction](http://www.if ## How to play +You can +[play this game online](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/focus) +or play it with any TADS3 interpreter. + +See this [cheat sheet](http://pr-if.org/doc/play-if-card/play-if-card-300dpi.png) if you are not familiar with interactive fiction + +### Play with an interpreter + 1. Download `yet_another_experiment.t3` from the [release page](https://github.com/He4eT/tads3_experiment/releases) 1. Install the interpreter that supports TADS adventure games (see the list below) -1. See this [cheat sheet](http://pr-if.org/doc/play-if-card/play-if-card-300dpi.png) if you are not familiar with interactive fiction - -### List of interpreters +#### List of interpreters + - Web: [elseifplayer](https://he4et.github.io/elseifplayer/#/) - Desktop: [gargoyle](https://github.com/garglk/garglk/) or [frobtads](https://github.com/realnc/frobtads) - Android: [fabularium](https://play.google.com/store/apps/details?id=com.luxlunae.fabularium&hl=en) - iOS: [frotz](https://apps.apple.com/au/app/frotz/id287653015) From 0964e61d29994515b988b5b2a8db464fdcf60dae Mon Sep 17 00:00:00 2001 From: Alexey Date: Sat, 24 Jul 2021 23:47:26 +0500 Subject: [PATCH 12/14] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f63f4b3..ef75840 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Yet another experiment +[![Play online](https://img.shields.io/badge/Play-online-orange?style=flat-square)](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/focus/) [![IFDB](https://img.shields.io/badge/IFDB-page-lightgrey?style=flat-square)](https://ifdb.tads.org/viewgame?id=rsssdo3anjpwnt6e) A small "escape the room" style [TADS3](https://www.tads.org/) game. @@ -10,7 +11,7 @@ Designed as a set of examples for developing [interactive fiction](http://www.if ## How to play You can -[play this game online](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/focus) +[play this game online](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/focus/) or play it with any TADS3 interpreter. See this [cheat sheet](http://pr-if.org/doc/play-if-card/play-if-card-300dpi.png) if you are not familiar with interactive fiction From eadae09de171f7ac6ea2e31880bdc5c91235d6cd Mon Sep 17 00:00:00 2001 From: Alexey Date: Tue, 27 Jul 2021 19:47:54 +0500 Subject: [PATCH 13/14] Update README.md --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ef75840..6cab952 100644 --- a/README.md +++ b/README.md @@ -14,18 +14,18 @@ You can [play this game online](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/focus/) or play it with any TADS3 interpreter. -See this [cheat sheet](http://pr-if.org/doc/play-if-card/play-if-card-300dpi.png) if you are not familiar with interactive fiction +See this [cheat sheet](http://pr-if.org/doc/play-if-card/play-if-card-300dpi.png) if you are not familiar with interactive fiction. ### Play with an interpreter -1. Download `yet_another_experiment.t3` from the [release page](https://github.com/He4eT/tads3_experiment/releases) -1. Install the interpreter that supports TADS adventure games (see the list below) +1. Download `yet_another_experiment.t3` from the [release page](https://github.com/He4eT/tads3_experiment/releases). +1. Install the interpreter that supports TADS adventure games (see the list below). -#### List of interpreters - - Web: [elseifplayer](https://he4et.github.io/elseifplayer/#/) - - Desktop: [gargoyle](https://github.com/garglk/garglk/) or [frobtads](https://github.com/realnc/frobtads) - - Android: [fabularium](https://play.google.com/store/apps/details?id=com.luxlunae.fabularium&hl=en) - - iOS: [frotz](https://apps.apple.com/au/app/frotz/id287653015) +#### List of interpreters: + - Web: [elseifplayer](https://he4et.github.io/elseifplayer/#/); + - Desktop: [gargoyle](https://github.com/garglk/garglk/) or [frobtads](https://github.com/realnc/frobtads); + - Android: [fabularium](https://play.google.com/store/apps/details?id=com.luxlunae.fabularium&hl=en); + - iOS: [frotz](https://apps.apple.com/au/app/frotz/id287653015); See the [full list](http://www.ifwiki.org/index.php/Interpreter). @@ -40,10 +40,10 @@ the full list of "bricks" on [this page](/docs/table_of_contents.md). ### Pre-build - 1. Clone this repo - 1. Install [frobtads](https://github.com/realnc/frobtads) - 1. Copy `frobtads/tads3/lib/` to `project_path/lib/` - 1. Copy `frobtads/tads3/include/` to `project_path/lib/include/` + 1. Clone this repo; + 1. Install [frobtads](https://github.com/realnc/frobtads); + 1. Copy `frobtads/tads3/lib/` to `project_path/lib/`; + 1. Copy `frobtads/tads3/include/` to `project_path/lib/include/`; ### Build ``` From 252604779e4f9d4dd20da61f95d1649ae56c7b7c Mon Sep 17 00:00:00 2001 From: Alexey Date: Sun, 2 Jul 2023 14:42:09 +0300 Subject: [PATCH 14/14] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6cab952..f375b48 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Yet another experiment -[![Play online](https://img.shields.io/badge/Play-online-orange?style=flat-square)](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/focus/) +[![Play online](https://img.shields.io/badge/Play-online-orange?style=flat-square)](https://he4et.github.io/elseifplayer/#/focus/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/) [![IFDB](https://img.shields.io/badge/IFDB-page-lightgrey?style=flat-square)](https://ifdb.tads.org/viewgame?id=rsssdo3anjpwnt6e) A small "escape the room" style [TADS3](https://www.tads.org/) game. @@ -11,7 +11,7 @@ Designed as a set of examples for developing [interactive fiction](http://www.if ## How to play You can -[play this game online](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/focus/) +[play this game online](https://he4et.github.io/elseifplayer/#/focus/https%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Ftads%2Fyet_another_experiment.t3/toxin/) or play it with any TADS3 interpreter. See this [cheat sheet](http://pr-if.org/doc/play-if-card/play-if-card-300dpi.png) if you are not familiar with interactive fiction.