Dice rolling program written in Socket.IO