A quick game that's impossible to win: doctor Nim

This is a very old math game. however the way I've coded the program made it impossible for you to win!

You are viewing a single comment. View All

@HarryPengRHS Yeah, it feels much cooler, since most times programs that ask for usernames just copy over the entire string. Also, as a little side note, if you say you'll take 0, it says that the other person takes 4, but it obviously can't work the other way around. Just a little annoyance, if you want to fix it I suggest making it so that if the user takes none, the computer takes none too. Obviously it's up to you though, so do as you wish, ha ha.