This is a project that aims to demonstrate a simple Pokémon battle game, using a variety of frontend and backend technologies and then to highlight the pros and cons in our perspective of which one.
Pokemon Battle using VueJS or using ReactJS
- Complete list of availables frontend projects click here;
- Complete list of availables backend projects click here;
Route | Method | Description |
---|---|---|
/all | GET | List all available characters |
/select | POST | The user selected character |
/hit | POST | The user selected attack |
{[
"name" : "Pikachu",
"type" : "electric",
"avatar" : "avatarurl.extension",
"attacks" : [
{
"name": "thunderbolt",
"power": 50,
"type" : "electric",
"accuracy": 70
},
{
"name" : "tackle",
"power": 30,
"type" : "normal",
"accuracy": 85
}
],
"health" : 75,
"agility": 95,
"attack": 65,
"defense": 55
]}
{
"name" : "Pikachu"
}
{
"player" : {
"name" : "Pikachu",
"type" : "electric",
"avatar" : "avatarurl.extension",
"attacks" : [
{
"name": "thunderbolt",
"power": 50,
"type" : "electric",
"accuracy": 70
},
{
"name" : "tackle",
"power": 30,
"type" : "normal",
"accuracy": 85
}
],
"health" : 75,
"agility": 95,
"attack": 65,
"defense": 55
},
"against" : {
"name" : "Charmander",
"type" : "fire",
"avatar" : "avatarurl.extension",
"attacks" : [
{
"name": "flame",
"power": 50,
"type" : "fire",
"accuracy": 85
}
],
"health" : 75,
"agility": 95,
"attack": 55,
"defense": 55
}
}
{
"player" : {
"name" : "Pikachu",
"currentHealth" : 60,
"attack" : "tackle"
},
"against" : {
"name" : "Charmander",
"currentHealth" : 50
}
}
{
"player" : {
"name" : "Pikachu",
"currentHealth" : 53,
"damage" : 5,
"desc" : "",
"desc_id" : 1
},
"against" : {
"name" : "Charmander",
"currentHealth" : 45,
"attack" : "flame",
"damage" : 7,
"desc" : "Critical Hit",
"desc_id" : 3
}
}
Id | Description |
---|---|
1 | Normal |
2 | Missed |
3 | Critical Hit |
4 | Super effective attack |
5 | Not very effective attack |
6 | Not effective attack |
12 | Super effective and critical attack |
15 | Not very effective but critical attack |
PokeApi and Bulbapedia