1.1.1 • Published 2 months ago

bigwword-lidafitri v1.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

Project Name: Big Sword

Introduction

This project aims to create a simple JavaScript game called "Big Sword". It provides functionalities for generating random characters and simulating battles between them.

Features

  • Random character generation
  • Character attributes: health, strength, agility, intelligence
  • Battle simulation between two characters
  • Determining the winner of the battle

Installation

No installation required. Just download the index.js file and include it in your project.

Usage

  1. Include the index.js file in your project.
  2. Call the createCharacter() function to generate a random character.
  3. Call the battle(player1, player2) function with two characters as arguments to simulate a battle between them.
  4. Retrieve the winner from the returned value of the battle() function.

Contributors

No contributors yet. You're welcome to contribute!

Issues

If you encounter any issues or have suggestions for improvements, please open an issue on GitHub.

Acknowledgements

This project was inspired by the need for a simple JavaScript game for educational purposes.