input.addAction(new MoveLeft(), "MoveLeft", KeyInput.KEY_H, true);
//initialize the network connection based on which option the user selected
if(runServer) {
try {
server = new Server();
server.register(localTank, NetworkConstants.TANK);
} catch (UnknownHostException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();