2.28.0 • Published 4 months ago

reproduction v2.28.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 months ago

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

  1. OOP mostly failed as it demanded too many details
  2. OOP+Mixins mostly failed as the code detracted from the point of the code.
  3. Fluid DSL with target object editing mostly failed as nothing was constrained
  4. A Lodash like library showed promise.
  5. Accessing items by ID, shows great promise; fine and easy to remember constraints
  6. Using hand coded id for all items great success.
  7. 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.28.0

4 months ago

2.27.0

5 months ago

2.26.0

7 months ago

2.25.0

8 months ago

2.24.0

10 months ago

2.23.0

1 year ago

2.22.0

1 year ago

2.21.0

1 year ago

2.20.0

1 year ago

2.19.0

2 years ago

2.18.0

2 years ago

2.17.0

2 years ago

2.16.0

2 years ago

2.15.0

3 years ago

2.14.0

3 years ago

2.13.0

3 years ago

2.12.0

3 years ago

2.11.0

3 years ago

2.10.0

3 years ago

2.9.0

3 years ago

2.8.0

4 years ago

2.7.0

4 years ago

2.6.0

6 years ago

2.5.0

6 years ago

2.4.0

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

10.0.0

11 years ago