Coder Social home page Coder Social logo

bot-battlr-app's Introduction

The Bot Battler

Introduction

The Bot Battler is a web application built using React that allows users to create and manage their own bot army. Users can browse a collection of bots, add them to their army, remove them from their army, and sort them by various attributes such as health, damage, and armor.

Getting Started

To get started with The Bot Battler, follow these steps:

  1. Clone this repository to your local machine.
  2. Navigate to the project directory in your terminal.
  3. Install the necessary dependencies by running npm install.
  4. Start the development server by running npm start.
  5. Open http://localhost:3000 in your browser to see the application.

Features

The Bot Battler has the following features:

  • Browse a collection of bots.
  • Add bots to your army.
  • Remove bots from your army.
  • Sort bots in the collection by health, damage, or armor.
  • View your current bot army.

Technologies Used

The Bot Battler was built using the following technologies:

  • React
  • JavaScript
  • HTML
  • CSS

Code Overview

The App component is the main component of the application. It maintains the state of the bots collection, the user's bot army, and which component to render (either BotCollection or YourBotArmy). It also contains functions to sort the bots and add, remove, and discharge bots from the army.

The BotCollection component displays the collection of bots and allows the user to add bots to their army.

The YourBotArmy component displays the user's current bot army and allows the user to remove bots from their army or discharge them (which removes them from the army and also deletes them from the backend).

The SortBar component displays buttons to sort the bots by health, damage, or armor.

Author

Github -(Vkerubo)

bot-battlr-app's People

Contributors

vkerubo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.