Skip to content

oraclown/twitter-contest-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Contest V2

streak shield implementation

done

  • users can buy streak shield before the contest starts for cheaper
  • users can buy streak shield during the contest for more

todo

  • if someone calls claimLoser correctly on another contestant, they get like 10% of that player's stake no matter what, and the loser's status "inTheRunning" is set to false. This means their entire stake is in jeopardy, and will be distributed to the winners at the end.
  • if someone calls claimLoser correctly on a contestant who is "inTheRunning" but has a streak shield, they still get 10% of that player's stake, but the loser's status "inTheRunning" is NOT set to false. This means their entire stake is NOT in jeopardy, and will NOT be distributed to the winners at the end. The loser's streak shield count is decremented.

Replit setup

  • run source ./setup.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages