Compare commits

...

14 commits

Author SHA1 Message Date
252604779e
Update README.md 2023-07-02 14:42:09 +03:00
eadae09de1
Update README.md 2021-07-27 19:47:54 +05:00
0964e61d29
Update README.md 2021-07-24 23:47:26 +05:00
88ee9d6763
Update README.md 2021-07-24 23:38:11 +05:00
fec81559ca
Update README.md 2021-01-18 14:39:25 +05:00
73093d97e7 Elevator key check 2020-03-29 12:20:30 +05:00
709931441b Walkthrough 2020-03-28 00:38:23 +05:00
ff37702bc4 Move 'screenshot.png' to 'docs/' 2020-03-28 00:28:03 +05:00
ba1a9e7d39 Move 'map.md' to 'dosc/' 2020-03-27 14:49:32 +05:00
0b4160d579
Update README.md 2020-03-27 14:42:32 +05:00
96d7d73c71 versionInfo: link to github 2020-03-27 13:44:06 +05:00
5a9785d10f
Create LICENSE 2020-03-27 03:51:20 +05:00
8164d72c4f
Update README.md 2020-03-27 03:43:49 +05:00
b20a477123
Update README.md 2020-03-27 03:42:07 +05:00
8 changed files with 100 additions and 18 deletions

21
LICENSE Normal file
View file

@ -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.

View file

@ -1,20 +1,31 @@
# Yet another experiment
[![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.
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
1. Download the story-file on the [release page](https://github.com/He4eT/tads3_experiment/releases)
1. Install the interpreter that supports TADS adventure games (see the list below)
You can
[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.
### List of interpreters
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.
- 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)
### 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).
#### 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).
@ -29,19 +40,19 @@ 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
```
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

View file

View file

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Before After
Before After

View file

@ -10,7 +10,8 @@ versionInfo: GameID
showAbout () {
" << desc >> <br>
Designed as a small set of
useful examples for developers. ";
useful examples for developers.\b
https://github.com/He4eT/tads3_experiment/";
}
byline = 'by He4eT'

View file

@ -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. ";
}
}
}

View file

@ -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

33
test/walkthrough Normal file
View file

@ -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