protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            _cloudService.Connect();

            SetContentView(Resource.Layout.Snake);

            _handlerThread = new HandlerThread("background");
            _handlerThread.Start();
            _handler = new Handler(_handlerThread.Looper);

            _paints[PositionState.Empty] = new Paint {
                Color = Color.Argb(50, 255, 255, 255)
            };
            _paints[PositionState.Snake] = new Paint {
                Color = Color.Argb(255, 0, 100, 0)
            };
            _paints[PositionState.Food] = new Paint {
                Color = Color.Argb(100, 255, 255, 0)
            };

            _joystickInputDriver = new JoystickInputDriver(new[] { Keycode.Button10, Keycode.Button11, Keycode.Button12, Keycode.Button13, Keycode.Button14 });
        }