All Projects → bencoveney → super-auto-pets-db

bencoveney / super-auto-pets-db

Licence: MIT license
This database website is an un-official guide and reference for the pets, food and stats from the game Super Auto Pets.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to super-auto-pets-db

yii2-manual-chm
Yii 2 Guide/API/Docs compiled in various formats
Stars: ✭ 63 (+75%)
Mutual labels:  reference, guide
Py2rs
A quick reference guide for the Pythonista in the process of becoming a Rustacean
Stars: ✭ 690 (+1816.67%)
Mutual labels:  reference, guide
XS-Labs-Style-Guide
XS-Labs Coding Style Guide for C, C++, Objective-C and x86 Assembly
Stars: ✭ 20 (-44.44%)
Mutual labels:  reference, guide
Nmap-Reference-Guide
Nmap Reference Guide(Nmap参考指南)
Stars: ✭ 54 (+50%)
Mutual labels:  reference, guide
Cpp Quick Reference
C++ Quick Reference
Stars: ✭ 144 (+300%)
Mutual labels:  reference, guide
Pure Sh Bible
📖 A collection of pure POSIX sh alternatives to external processes.
Stars: ✭ 3,246 (+8916.67%)
Mutual labels:  reference, guide
C Cpp Notes
Notes about modern C++, C++11, C++14 and C++17, Boost Libraries, ABI, foreign function interface and reference cards.
Stars: ✭ 363 (+908.33%)
Mutual labels:  reference, guide
Pure Bash Bible
📖 A collection of pure bash alternatives to external processes.
Stars: ✭ 28,109 (+77980.56%)
Mutual labels:  reference, guide
Golang For Nodejs Developers
Examples of Golang compared to Node.js for learning
Stars: ✭ 2,698 (+7394.44%)
Mutual labels:  reference, guide
Pyspark Cheatsheet
🐍 Quick reference guide to common patterns & functions in PySpark.
Stars: ✭ 108 (+200%)
Mutual labels:  reference, guide
command-line-quick-reference
quick reference on command line tools and techniques for the people with limited time
Stars: ✭ 331 (+819.44%)
Mutual labels:  reference, guide
Visual Scala Reference
Visual Scala Reference
Stars: ✭ 198 (+450%)
Mutual labels:  reference, guide
FindMyDoc
Documentations, manuels et guides d'utilisation
Stars: ✭ 36 (+0%)
Mutual labels:  reference, guide
beatoraja-english-guide
Detailed guide for how to get started with beatoraja or BMS in general. -- For example: What is BMS, How do I set it up, Where do I download songs, How does the community work, How does the difficulty system work
Stars: ✭ 62 (+72.22%)
Mutual labels:  guide
wiki
从diy行为艺术到diy苏格拉底式对话,从diy一个仪式到diy一次旷课,各种活动指南的百科。diy💔是706孵化的一个非代码开源项目。
Stars: ✭ 49 (+36.11%)
Mutual labels:  guide
js-stack-from-scratch
🌺 Russian translation of "JavaScript Stack from Scratch" from the React-Theming developers https://github.com/sm-react/react-theming
Stars: ✭ 394 (+994.44%)
Mutual labels:  guide
kubernetes-basico
Demonstração dos componentes do Kubernetes
Stars: ✭ 26 (-27.78%)
Mutual labels:  guide
Intranet-Lets-Encrypt-Certification
Guide to setting up a Let's Encrypt SSL certificate for a non-public facing server.
Stars: ✭ 27 (-25%)
Mutual labels:  guide
Git-Command-Guide
📙 A git command guide
Stars: ✭ 53 (+47.22%)
Mutual labels:  guide
php-the-right-way
La version française de "PHP: The Right Way" qui est un condensé des meilleures pratiques sur le développement PHP (conventions, liens vers les tutoriels qui font référence, etc)
Stars: ✭ 51 (+41.67%)
Mutual labels:  reference

super-auto-pets-db

This database website is an un-official guide and reference for the pets, food and stats from the game Super Auto Pets.

Usage

Prerequisites

  • Install node (I use v14.16.0, your mileage may vary on earlier versions).
  • Run npm install.

Building the project

You can use npm run prod:build or npm run dev:build to build the site. This will write the website to the docs/ directory, for hosting through GitHub Pages.

You can use npm run dev to create a local development server.

Navigating the project

  • docs/ - The output directory for the website files. Everything in this directory is generated from the src/ files, you probably don't want to be changing these files directly.
  • src/ - Code files used in the project
    • db/ - Files involved in building and populating the pets database.
      • food/ - Files defining all the food items in the game.
      • pets/ - Files defining all the pets items in the game.
      • statusEffects/ - Files defining all the status effects items in the game.
    • emoji/ - Git submodules for the emoji fonts that contain the animal icons.
    • web/ - Files involved in building the website.
      • assets/ - Static files and images
      • components/ - React components.
      • hooks/ - React hooks.
      • live/ - Entry point for the run-time code.
      • ssr/ - Entry point for static site rendering code.

API

One goal of this project is to have all pets and food described as data so that they can be used and consumed by other applications.

For this reason we are also building an api.json file that other applications can use and consume.

The JSON follows the following schema:

export type Pack = "StandardPack" | "ExpansionPack1";

export interface Pet {
  // The name of the pet.
  name: String;
  // The tier the pet appears in.
  tier: number;
  // The standard starting attack points for the pet.
  baseAttack: number;
  // The standard starting health points for the pet.
  baseHealth: number;
  // Which packs the pet appears in.
  packs?: Pack[];
  // The ability the pet has at level 1.
  level1Ability?: Ability;
  // The ability the pet has at level 2.
  level2Ability?: Ability;
  // The ability the pet has at level 3.
  level3Ability?: Ability;
}

export interface Ability {
  // The text description of the ability.
  description: string;
  // What behaviour (by the trigger entity) will initiate the ability.
  trigger: Trigger;
  // Which entity will trigger the effect.
  triggeredBy: Target;
  // What the effect does.
  effect: Effect;
}

The purpose of the extra information on the Ability type is so that in the future we could do things like:

  • Generate more detailed/precise descriptions for what each ability does.
  • Allow filtering on things like "pets that spawn other pets".

This extra ability information is still subject to change as the data model becomes clearer. Check out src/database/index.ts to get a better idea of how this information is structured.

Useful Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].