Update keyboard_input_manager.js

modify the original game; randomly move a direction after the player move a diection