adventure-helper
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i adventure-helper

Weekly Downloads

6

Version

2.2.1

License

ISC

Unpacked Size

106 kB

Total Files

7

Last publish

Collaborators

  • lightbluegamer