Sorry to spoil it, but you can't win ;-;
The computer goes first, and it always says
(your number) - 4 which means it doesn't matter what you say, it will always increase in 4's. If you say 3, it will say 1, making four, if you say 2, it will say 2 making four, if you say 1, it will say 3 making 4.
There is literally no way to win :(
But nice creation!!