Hi there - I made a little game in React called Find the State. Goal is to find all the contiguous U.S. States on a map. Frontend and Backend code is open sourced.
Long story short - there was this iPad game I played like 5 years back that just had you find States on a map. I really liked it, but it was buggy and eventually stopped even being served on the app store.
While playing it, I found that my knowledge of where all the states were was really awful. I kinda just assumed I knew where all the states were. It was fun playing it a bunch and getting a lot better.
So I decided to make my own version that tried to keep everything really simple and that could be used as a kinda tool to workout your U.S. "geography" muscle.
This was my first time using Python. Previously used PHP -> Node -> Go. I went with FastAPI and I dug it. It's just really simple and I felt like I wrote a lot less code than usually in order to stand up this API. Def a fan.
For the frontend I went with React and TypeScript, which is what I use at work. This was my first time using Recoil - I really like that as well. I've always used Redux in the past, but I wanted to see if I could eliminate the "store" overhead. I was pretty happy with the result, although Recoil has its quirks as well.
Totally down to answer any question on the code or anything.
1 comment
[ 2.7 ms ] story [ 13.5 ms ] threadLong story short - there was this iPad game I played like 5 years back that just had you find States on a map. I really liked it, but it was buggy and eventually stopped even being served on the app store.
While playing it, I found that my knowledge of where all the states were was really awful. I kinda just assumed I knew where all the states were. It was fun playing it a bunch and getting a lot better.
So I decided to make my own version that tried to keep everything really simple and that could be used as a kinda tool to workout your U.S. "geography" muscle.
This was my first time using Python. Previously used PHP -> Node -> Go. I went with FastAPI and I dug it. It's just really simple and I felt like I wrote a lot less code than usually in order to stand up this API. Def a fan.
For the frontend I went with React and TypeScript, which is what I use at work. This was my first time using Recoil - I really like that as well. I've always used Redux in the past, but I wanted to see if I could eliminate the "store" overhead. I was pretty happy with the result, although Recoil has its quirks as well.
Totally down to answer any question on the code or anything.
Frontend code: https://github.com/johndatserakis/find-the-state-ui
Backend code: https://github.com/johndatserakis/find-the-state-api