Skip to content

A turn based PvP multiplayer game taking place in the streets of NYC.

Notifications You must be signed in to change notification settings

ONCE-11/battler-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🐮 Beef (Backend)

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.

🧑‍💻 Tech

  • Deno
  • TypeScript
  • Supabase Edge Functions
  • PostgreSQL
    • Migrations
    • Stored procedures

🖥️ Production

The current url for the production build is battler.onrender.com.

👤 Players

There are 16 different usable players in the game. Each character utilizes three possible attacks. A weak, strong and special attack.

⚔️ Attacks

  • 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

⌛️ Future features

  • Currency acquisition by winning battles
  • Item acquisition through a shop
  • Unique scenarios
  • Equipment
    • Weapons
    • Wearables
    • Rings

🔥 Want to test it for yourself?

Local Commands

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]

Run

Required Environment Variables

The following should be set in your .env file

LOCAL_BUCKET_URL
DENO_ENV=development

About

A turn based PvP multiplayer game taking place in the streets of NYC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published