add keyboard state and battlship controller