Implemented some input handling in human player