Inspiration
Having created a team, we realised that there was one thing missing... An idea! All of us had made the mistake of turning up without ideas. This was where the random word generator came in! With Salmon and Poker on the board, we were really struggling. Then lightning struck... Horse racing, but Salmon!
What it does
Our project aims to emulate the betting logic behind horse racing. With different types of bets, odds on different fish, and dynamic updates to odds after every race! Players can place bets on their fish and see results proportional to the risks they took on! We do not take any responsibility for loss of imaginary money!
How we built it
The project is a NextJS frontend communicating with a Flask API and Python backend. We have the game logic setup python classes: player, fish, and race, with the API implementing a "tick" system that incrementally updates the fish positions and the associated metadata.
Challenges we ran into
On the backend, we had lots of issues with circular classes and common responsibilities between the classes, so we had to rework how they interact. We also had some dependencies on the backend that caused some blockers for work on the frontend.
Accomplishments that we're proud of
We've created a full-stack website with backend and frontend logic.
What we learned
Flask API, NextJS development. Working rapidly full-stack as a team.
What's next for Salmon Race
Adding loan sharks so that you can resolve your debt!
Log in or sign up for Devpost to join the conversation.