Beef is a turn based PvP multiplayer game where your goal is to fight other players using your knowledge of your generated player's kit. The application offers a grittier twist on the turn based RPGs with a variety of randomly-(ish) generated characters from lesser represented backgrounds and items thematic to New York City neighborhoods. This is still very much a work in progress but intended to offer an alternative to what has already been produced in the past within this space. The game is currently in an alpha state. The code in this repository is for the backend portion of the game.
- Deno
- TypeScript
- Supabase Edge Functions
- PostgreSQL
- Migrations
- Stored procedures
The current url for the production build is battler.onrender.com.
There are 16 different usable players in the game. Each character utilizes three possible attacks. A weak, strong and special attack.
- Weak attacks generally have a good chance to hit but are weaker
- Strong attacks hit harder but have a chance to miss
- Special attacks can attack but generally provide other buffs such as healing or temporary improvements to attributes
- Currency acquisition by winning battles
- Item acquisition through a shop
- Unique scenarios
- Equipment
- Weapons
- Wearables
- Rings
Serve edge functions
npx supabase functions serve
Create local typescript types
npx supabase gen types --lang=typescript --local > supabase/functions/supabaseTypes.ts
Create new migration
npx supabase db diff -f [name of migration]
The following should be set in your .env
file
LOCAL_BUCKET_URL
DENO_ENV=development