Final Project @DH2642 Interaction Programing and Dynamic Web
=================================================
##See Heroku deployment
###Authors:
Beichen CHEN ([email protected])
Hao LI ([email protected])
Jingjing XIE ([email protected])
Jinwei LIN ([email protected])
###Brief:
A Pokémon battle game which users may choose their favourite Pokémons to fight against AIs.
###Technologies:
###Views: homepage, choose team, battle, FAQ, highscore
###Setup:
- Get and install node if you do not already have it yet;
- Get a fresh copy of the project code;
- Navigate to the project repository in your command line;
- Run
npm install
which installs the web server and other need components; - Run
npm start
which start a local http server on port:8000; - You should now be able to go to http://localhost:8000/ and see the project running
###Useful info:
- API: Pokeapi
- Statics: from Bulbapedia
- Damage: from Bulbapedia
- PNGs: from Pokestadium
###Endpoints: data needed (function):
/type: list of Pokémons whose types is in (search for Pokémons by type)
/pokemon: name, type, base stats [health points, attack, defense, special attack, special defense)], moves
/move: power, type, damage class, accuracy
###Instruction:
0. Go to the homepage:
0.1 Toggle music;
0.2 Check FAQ;
0.3 Check about us.
1. Authentication:
1.1 Login;
1.2 Sign up.
2. Choose team:
2.1 Search by type (can randomize);
2.2 Search by name with selected type;
2.3 Check Pokémon details;
2.4 Add to/ remove from team;
2.5 Change the order of Pokémons (drag and drop);
2.6 Go to battle.
3. First Pokémon in the team starts the battle.
4. Trainer's round:
4.1. attack (next opponent and +1 score if opponent is fainted);
4.2. use item ª;
4.3. change Pokémon;
4.4. run away ª.
5. Opponent's round:
5.1. attack (forced to change Pokémon if trainer's is fainted; game over if all of trainer's are fainted).
6. Next round, until game over.
7. Highscores.
ª marks those which are not implemented.