Skip to content

49djdjd/poke-blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8c7e668 · · Jul 22, 2026

History

19 Commits
Jul 22, 2026
Jul 22, 2026
Jul 21, 2026
Jul 21, 2026
Jul 21, 2026
Jul 22, 2026
Jul 21, 2026
Jul 21, 2026
Jul 21, 2026
Jul 21, 2026
Jul 21, 2026
Jul 21, 2026

Repository files navigation

Pokemon Blackjack!

description

A card game (blackjack) where you get to play against other pokemon!

features

  • blackjack!
  • buttons (to hit/stand)
  • personalized experience (asks for name)
  • pokemon (from PokeAPI)

how to use/set up

  • You can just use the demo link; no further setup is needed.

tech stack

  • Next.js
  • Tailwind CSS
  • Typescript -PokeApii

why I made it

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.

learning outcomes

  • 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!

Challenges I faced

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!

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

No packages published