Skip to content

Commit

Permalink
change pokemon folder name; implement registerUser logic in core b00t…
Browse files Browse the repository at this point in the history
  • Loading branch information
Eden23 committed Aug 9, 2024
1 parent 9b943bc commit 2c32712
Show file tree
Hide file tree
Showing 39 changed files with 2,882 additions and 302 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ A game to build pokemon teams and fight with them

## Functional

As a pokemon player, there is a lot of resources to design teams and practice without using the original games, but there isn't a unified resource. Pokemon Breakdown aims to accomplish that, starting with the basics and tacking example from Pokemon Showdown, which is the biggest resource right now.

### Use Cases

V.01
**User**
*V.01*
- create Pokemon team
- edit Pokemon team
- add pokemon to team
Expand All @@ -19,7 +18,8 @@ V.01
- import pokemon from text
- export pokemon from text

V.02
**User**
*V.02*
- find battle
- select move
- cancel move
Expand Down Expand Up @@ -55,7 +55,7 @@ V.02

### Data Model

User
**User**
- id (auto)
- email (string)
- username (string)
Expand All @@ -64,74 +64,66 @@ User
- role (string)
- library ([Game.id])

Team Library
**Team Library**
- id (auto)
- owner (string)
- teamList ([string])
- owner (User.id)
- teamList ([Team.id])
- privacy (boolean/string)

Team
**Team**
- id (auto)
- name (string)
- author (string)
- pokemonList ([Pokemon])
- date (Date)


Pokemon
**Pokemon**
- _id (auto)
- id (number)
- name (string)
- level (number)
- type1 (string)
- type2 (string)
- gender (string)
- shiny (boolean)
- level (number, enum: 1-100)
- type ([{Type.id}])
- item (string)
- move1 (Move.id)
- move2 (Move.id)
- move3 (Move.id)
- move4 (Move.id)
- moves ([Move])
- possibleMoveset ([Move.id])
- stats (Stats)
- stats (object)
- nature (string)
- statusCondition (string)

Stats
- hp (Stat)
- finalHp (number)
- attack (Stat)
- finalAttack (number)
- defense (Stat)
- finalDefense (number)
- spAttack (Stat)
- finalSpAttack (number)
- spDefense (Stat)
- finalSpDefense (number)
- speed (Stat)
- finalSpeed (number)

Stat
- base (number)
- efforValues (number)
- individualValues (number)

Move
**Move**
- id (auto)
- name (string)
- accuracy (number)
- pp (number)
- damageClass (string)
- effectChance (number)
- effect (string)
- meta ({
- ailment (string, optional)
- ailment_chance (number, optional)
- category (string, optional)
- crit_rate (number, optional)
- drain (number, optional)
- flinch_chance (number, optional)
- healing (number, optional)
- max_hits (number, optional)
- max_turns (number, optional)
- min_hits (number, optional)
- min_turns (number, optional)
- stat_chance (number, optional)})
- power (number)
- powerPoints (number)
- priority (number)
- type (number)
- damageType (string)
- ailment (string)
- statChanges ([{
- change (number)
- stat (string) }])
- target (string)
- type (string)

StatusCondition
**Status Condition**
- actualCondition ()
- burn (Burn)
- freeze (Freeze)
- sleep (Sleep)
- paralysis (Paralysis)
- poison (Poison)
- badlyPosioned (BadlyPosioned)

Burn
- badlyPosioned (BadlyPosioned)
230 changes: 0 additions & 230 deletions staff/marti-herms/project/PokemonSD/core/package-lock.json

This file was deleted.

3 changes: 2 additions & 1 deletion staff/marti-herms/project/V-HUB/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "api",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand All @@ -14,4 +15,4 @@
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2"
}
}
}
Loading

0 comments on commit 2c32712

Please sign in to comment.