A card game (blackjack) where you get to play against other pokemon!
- blackjack!
- buttons (to hit/stand)
- personalized experience (asks for name)
- pokemon (from PokeAPI)
- You can just use the demo link; no further setup is needed.
- Next.js
- Tailwind CSS
- Typescript -PokeApii
I made it because I have been curious about APIs, and I have also been playing pokemon x recently on my 3DS, so this was a perfect way to combine them! Also I wanted to work a little more on combining APIs with other features of the website. I wanted to work more on creating more functions and learn more TSX.
- I learned how to integrate APIs within my code and learned a lot about functions within TSX (for example, async) but I also learned more about the syntax for TSX, I am able to write the psuedocode but struggle with converting so this project really helped me learn the syntax more deeply. I was also able to use tailwind and have become more comfortable with it!
I was able to handle the APIs smoothly but I faced quite a lot of issue with just formatting the code, I didn't realize that react doesn't save the values until after the function has ran so I needed to create a lot of const within the function, I had some issues with setting up the typing display (espeically because I didn't realize I would have to use arrays so that took a while). I was able to deal with these challegnes but referncing past code (looking at other aspects), following guides (W3 schools helped a lot!), and using ai to debug parts that I was really stuck on!