Example Usage
import { Movements } from 'yolkbot/constants';
bot.emit('move', Movement.FORWARD);
bot.emit('move', [Movement.FORWARD, Movement.LEFT]);
bot.emit('move', [Movement.FORWARD, Movement.LEFT, Movement.JUMP]);
bot.emit('move', []);
Checks
- The bot must be playing the game
- The movement passed must be a valid movement
- Movement validation is not as strict as other dispatches due to the enum format
- Be careful to only pass valid movement patterns
- Things like moving forward & backward at the same time will flag