drugwars

A lightweight JavaScript library for DrugWars

Usage no npm install needed!

<script type="module">
  import drugwars from 'https://cdn.skypack.dev/drugwars';
</script>

README

npm npm GitHub commit Discord GitHub license GitHub issue GitHub language

DrugWars.js

A lightweight JavaScript library for DrugWars

Installation

To install DrugWars.js on Node.js, open your terminal and run:

npm install drugwars --save

Example

Example can be directly found here https://github.com/FutureShockco/drugwars.js/tree/master/docs.

Edit the json file (buildings or units) and run.

npm run build

Documentation

Drugwars.io is available at https://github.com/FutureShockco/drugwars.io

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.