Inspiration
Games such as Pile-Up Poker & Balatro
What it does
Place cards on a grid to make the best poker hands!
How I built it
I built the frontend with Next.js and the backend with NestJS. I also used socket.IO to establish a websocket connection between the client and server No REST APIs or databases were used!
Challenges I ran into
- I didn't set up an SSL certificate in EC2, so the client couldn't establish a websocket connection with the server. Amazon Q walked me through the process of getting a domain on Route 53 and setting up a certificate on ACM. That saved me a lot of time!
- I initially designed the UI with only my desktop monitor in mind. Amazon Q generated code that made the UI more mobile-friendly, again saving me lots of time.
Accomplishments that I'm proud of
- Getting a working game and deploying it to AWS!
- Writing an "installation" script to play the game locally via Docker
What I learned
- How all the different AWS services work together
- Deploying to AWS Amplify and ECR
- Setting up an NGINX reverse proxy
- Pulling a Docker image from ECR to an EC2 instance
What's next for Annabelle
- Add support for joker cards
- Roguelite game modes
Built With
- amazon-ec2
- amplify
- docker
- lottie
- nestjs
- next.js
- react
- shadcn/ui
- tailwind
- typescript
- websockets
Log in or sign up for Devpost to join the conversation.