Betting actions - communication.js (scratch)