Skip to content
ktyldevPublic

About

Made for Hack:Brunel hackathon

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

PokéHack

Made for Hack:Brunel hackathon

Networked Pokémon game using the PokéAPI, for fun!

Write clients to consume or provide this API to have networked Pokémon battles in a variety of languages.

TODO

  • Replace title of readme with ASCII art

  • Define /battle get route

  • Turn all these points into issues on the repo

API Reference

Battle

POST /move

{
    "name": "billybob",
    "i":    22
}
name:   player name  
i:      move id      

Sends a move to be processed in the next turn.

POST /joinson

{
    "name":     "billybob",
    "dent":     4,
    "moves":    [ 517, 14, 257, 44 ],
    "level":    1
}
name:   player name
dent:   pokedex id
moves:  move ids
level:  pokemon level

Join battle.

GET /battle

TODO

Get battle state.

About

Made for Hack:Brunel hackathon

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages