An open API service indexing awesome lists of open source software.

https://github.com/renddslow/dunsany

Procedural generators for grand strategy game.
https://github.com/renddslow/dunsany

Last synced: 6 months ago
JSON representation

Procedural generators for grand strategy game.

Awesome Lists containing this project

README

        

# Dunsany

## Example

```js
import Graph, { mapFamily } from '@dunsany/relationships';
import createPantheon from '@dunsany/pantheon';

const graph = Graph();
const pantheon = createPantheon();

pantheon.deities.forEach((deity) => graph.addNode('deity', deity));
mapFamily(graph, pantheon.relationships).map(graph.addEdge);
```