2.23.0 • Published 1 month ago
reproduction v2.23.0
reproduction
Universe of interactive things focused on english-like descriptions of items within.
Preview
universe
.create('user', alice)
.create('ball', ball)
.create('box', box)
.insert('ball', 'box')
.whereis('ball', locator)
.take('ball', 'box')
.examine('ball', examiner)
.whereis('ball', locator);
Result:
The ball is in the box
The ball is pretty neat
Oh, you mean that ball?, that ball is in Alice's hands now.
Research
I wanted to find the minimal platform but with good structure and fair constraints.
Development History
- OOP mostly failed as it demanded too many details
- OOP+Mixins mostly failed as the code detracted from the point of the code.
- Fluid DSL with target object editing mostly failed as nothing was constrained
- A Lodash like library showed promise.
- Accessing items by ID, shows great promise; fine and easy to remember constraints
- Using hand coded id for all items great success.
- Adding Mixins for secondary concerns (Language/Devices)
TODO
Expressing language/prose via computer generated worlds is tough, in terms of code readability. I believe improving on the String Templates and Expression Arrays (see test.js) will only harm the program.
A.
2.23.0
1 month ago
2.22.0
3 months ago
2.21.0
3 months ago
2.20.0
4 months ago
2.19.0
6 months ago
2.18.0
7 months ago
2.17.0
11 months ago
2.16.0
1 year ago
2.15.0
2 years ago
2.14.0
2 years ago
2.13.0
2 years ago
2.12.0
2 years ago
2.11.0
2 years ago
2.10.0
2 years ago
2.9.0
2 years ago
2.8.0
2 years ago
2.7.0
3 years ago
2.6.0
5 years ago
2.5.0
5 years ago
2.4.0
5 years ago
2.3.0
5 years ago
2.2.0
5 years ago
2.1.0
5 years ago
2.0.0
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
10.0.0
10 years ago