denoland / deno-kv-hackathon

Rules, details, and place to submit your project for the Deno KV hackathon.
18 stars 2 forks source link

Stone, Bone, Cone - An hourly battle royale! #12

Open the-abe-train opened 1 year ago

the-abe-train commented 1 year ago

Team or Project Name

Stone, Bone, Cone

Team Members

The Abe Train (Discord/Twitter: @theAbeTrain)

Screenshots of your Project

Preview preview2 preview3

Link to demo on Deno Deploy

Deno Deploy link Vanity link

Link to project's public GitHub repo

GitHub Repo

Any final comments you'd like to add?

Stone, Bone, Cone is a pre-historic battle royale! The game is essentially a giant rock, paper, scissors tournament that runs every hour. All the player and tournament data is, of course, stored in Deno KV.

The game requires a cron job to run the tournament, and since there is no way to set that up with Deno Deploy, there is no logic in the repo to trigger it. However, it can easily be set up on a non-serverless environment. The cron job just has to hit the endpoint "/api/runTourney".

lambtron commented 1 year ago

congrats on being runner up in "overall best"! we'd love to give you a prize. please DM me in our discord (https://discord.gg/deno) or let me know of another way to get in contact. thanks again for participating!