(2) emphasises that the computer is your opponent, but, for me, "with" seems slightly too human-like. Probably I would say "against the computer". Opinions may vary.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.