2.2.1 • Published 2 years ago

adventure-helper v2.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

A simple utility to help making adventure like games.

Installation: npm i adventure-helper

Usage:

// CJS

const { Player, AnimalEnemy } = require('adventure-helper');
// Create a new player
const bob = new Player('Bob');
// Create a new animal enemy
const wolf = new AnimalEnemy('Wolf');

// ESM

import { Player, AnimalEnemy } from 'adventure-helper';
// Create a new player
const bob = new Player('Bob');
// Create a new enemy
const wolf = new AnimalEnemy('Wolf');

For more information, see the documentation

2.2.1

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago