Crash
This document outlines the socket.io events used for the Crash game.
Game States
Client to Server Events (Emitted by Frontend)
crash:bet
crash:bet{ "betAmount": 100.50, "autoCashout": 2.50 }
crash:cashout
crash:cashoutcrash:status
crash:statuscrash:history
crash:historycrash:bet-count
crash:bet-countServer to Client Events (Listened by Frontend)
crash:loop
crash:loopcrash:bet
crash:betcrash:cashout
crash:cashoutcrash:cashouts
crash:cashoutscrash:status
crash:statuscrash:history
crash:historycrash:bet-count
crash:bet-countcrash:bet-amount (User-specific)
crash:bet-amount (User-specific)balance-change (User-specific)
balance-change (User-specific)Last updated