Pokemon Battling Simulator
JimBob5 (172)

Play Pokemon against a friend with 6 random Pokemon. 30 Pokemon are currently available with 8 different types.

Check out my other games:
https://repl.it/talk/share/Dont-hit-13/26888

You are viewing a single comment. View All
icloud (0)

Make it so it can catch errors

JimBob5 (172)

@icloud What do you mean by this?

generationXcode (16)

@JimBob5 use the try:except: syntax

generationXcode (16)

@JimBob5 for example:
try:
1/0
except:
print("ofcourse that wont work")

JimBob5 (172)

@generationXcode Thank you for clearing it up, I will try and add this to the next version.

generationXcode (16)

@JimBob5 np we're here to help each other anyway. also try and make it so that the whole program restarts after an error occurs

JimBob5 (172)

@icloud The program now prevents users from entering non-numbers.