basic server with two blocks that move via the keyboard