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

https://github.com/jay1194/jest-another-rpg

This command-line RPG game immerses players in turn-based battles against enemies, leveraging Object-Oriented Programming (OOP) principles and constructors for development. It’s built using Test-Driven Development (TDD) methodologies to ensure robust and reliable game mechanics.
https://github.com/jay1194/jest-another-rpg

constructors inquirer javascript jest-tests nodejs object-oriented-programming test-driven-development

Last synced: about 1 month ago
JSON representation

This command-line RPG game immerses players in turn-based battles against enemies, leveraging Object-Oriented Programming (OOP) principles and constructors for development. It’s built using Test-Driven Development (TDD) methodologies to ensure robust and reliable game mechanics.

Awesome Lists containing this project

README

          

# jest-another-RPG

A text-based RPG game where the player engages in a turn-based battle with an enemy in the command line interface. Developed using constructors, following Test-Driven Development (TDD) principles, and applying Object-Oriented Programming (OOP) concepts.

## Overview

The CLI RPG Game is a console application that leverages constructors for player and enemy objects, incorporates tests developed through TDD, and follows OOP principles to structure the code.

## Features

- Turn-based battle system.
- Player can choose to attack or use a health potion.
- Dynamic health and damage calculations.

## Getting Started

### Prerequisites

- Node.js installed
- Inquirer npm package

## Installation

1. Clone the repository
```bash
git clone https://github.com/jay1194/jest-anouther-RPG.git
2. Install
```bash
npm install
## Usage
1. Open a terminal and navigate to the project directory.
2. Run the application
```bash
node index.js

## Technologies Used
- Node.js
- Inquirer npm package
- Jest for testing
- Node.js
- Constructors
- Test-Driven Development (TDD)
- Object-Oriented Programming (OOP)

## Contributing
- Contributions are welcome! Feel free to open issues or submit pull requests.

## License
![badge](https://img.shields.io/badge/license-MIT-brightgreen)


This application is covered by the MIT license.