@
0 reply
0 recast
0 reaction
alix🐹
@okyesok.eth
A race commitment contains info about races you are committed to racing, and some random number seed based on block and player info. You stake the total amount of Degen you are willing to race up front when you commit and can unstake after 24 hours if the commitment has not been executed.
1 reply
0 recast
1 reaction
alix🐹
@okyesok.eth
When the player starts a race within the frame, it triggers the frame logic's matching engine which checks the player has a valid commitment, then finds an opponent by matching two commitments of the same the bet size and bet token(only $degen for now 👀)
2 replies
0 recast
1 reaction
alix🐹
@okyesok.eth
The rng seed submitted in the commit adds an element of randomness to where a pet will move each turn. I'm not sure to what degree the outcome is based on randomness vs skill/training. Besides randomness the agents use a Q table to choose actions that maximize rewards based on past games. Gotta study that more tho.
0 reply
0 recast
1 reaction