Skip to content
← Back to Community
Pokemon Battling Simulator
Profile icon
JimBob5

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

Voters
Profile icon
JOSHUAMOINZADEH
Profile icon
SamuelStocks2
Profile icon
LordPython404
Profile icon
davidyu9
Profile icon
MarbleMammal397
Profile icon
AshCodz
Profile icon
BraydenMorkasse
Profile icon
SilentShadowBla
Profile icon
ikerf164
Profile icon
grady00f
Comments
hotnewtop
Profile icon
LeonDoesCode

Can I suggest https://pokeapi.co/. You will need to rewrite quite a bit, and also do a few requests, but it could be worth it. All the stats, alsong with a lot of other information is there.

Love the game as it is though, can't wait to see you add more!

Profile icon
RayvelArjoon

To make your game a bit more user friendly, introduce some while statements into your game:

while answer != 'yes' and answer != 'no': print('That is not an option!')# you could substitute that message with anything someThing()# run one of the functions again and clear the console
Profile icon
CharlesHood

If i enter a number higher than 6 for choosing my pokemon then the game has an error. maybe in your error checking loop check if the number is between 1 and 6 as well.

Profile icon
JimBob5

@CharlesHood If I were to do that it would be a bit more complicated then that. For example different situations would require different limits and the number of Pokemon changes.

Profile icon
PatMorrison

nice not working code. #COVID19KP2

Profile icon
ShadowAkira

When I start, and it asks me "What display speed would you like (in seconds, can be 0)" if I input 0 then it shows this:

Screenshot 2020-01-27 at 4.36.04 PM
Could you fix this?
This is still really cool though.

Profile icon
merrillUwU

culd you try to add eevee evolutions?

Profile icon
ShamantaK123

20 seconds

Profile icon
FreakingG0d

nice but how come bulbasaur using absorb can get an over health

Profile icon
Dart

screeches in variables

Profile icon
Navinor

@Zexogon

l = 'l' m = 'm' a = 'a' o = 'o' while True: print(l, m, a, o, sep='')
Profile icon
GameDev47

I found that it would crash alot

Profile icon
ImGrimReaper

this game was amazing

Profile icon
willbs

very cool XD uwu

Profile icon
LaneWales

Wow just amazing, thats some dedication!

Profile icon
launcherman08

Nice job! One suggestion is to add an ending because my sister and I were playing, and she had zero pokemon. The game asked her to select a pokemon even though she had none.

Profile icon
JimBob5

@launcherman08 I have attempted to add an ending but it seems not to be working from what you are saying. I will try and fix it and let you know when I do.

Profile icon
JimBob5

@launcherman08 I think the game should now tell you who wins and ask you if you want to play again.

Profile icon
launcherman08

@JimBob5 Thank you! It now works.

Profile icon
JimBob5

@launcherman08 Did it also ask you if you wanted to play again?

Profile icon
launcherman08

@JimBob5 Yes it did! Thanks!

Profile icon
LoneAce

Amazing game! You should try from replit import clear and clear() in order to clear the screen as it is cleaner. Cool concept btw :)

Profile icon
JimBob5

@LoneAce Thank you! I will use that in the code now and let you know when it is done.

Profile icon
JimBob5

@LoneAce I think I have now replaced all the line creators with clears.

Profile icon
LoneAce

@JimBob5 Noice

Profile icon
OathOfCode

@JimBob5 Love this game! Very fun! I have some suggestions though. If you use classes, it would make the code much simpler and cleaner. You also wouldn't have to use as many "if" statements as well.

Heres a link to my version of pokemon, but it uses classes. You may copy the code, change it up, basically do what ever you want to it to help improve your game!

Profile icon
JimBob5

@OathOfCode Thanks for the advice, I'll look into it.

Profile icon
[deleted]

pretty cool

Profile icon
SharkJohn

This is awesome! How long did it take to make?

Profile icon
JimBob5

@SharkJohn I think I started the first version about 2 months ago but I haven't edited it for a few weeks before uploading it here.

Profile icon
generationXcode

Very addictive. Nice game

Profile icon
WyattKeenan

The only thing you could improve on is the layout. This is fantastic!

Profile icon
[deleted]

@WyattKeenan Yeah the layout is kinda weird

Profile icon
icloud

Make it so it can catch errors

Profile icon
JimBob5

@icloud What do you mean by this?

Profile icon
generationXcode

@JimBob5 use the try:except: syntax

Profile icon
generationXcode

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

Profile icon
JimBob5

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

Profile icon
generationXcode

@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

Profile icon
JimBob5

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

Profile icon
icloud

@JimBob5 good job

Profile icon
vatsalvyas1920

Nicely done

Profile icon
Hyndoku

This is great! I dont know if you have or not yet but you should add the type advantages next.

Profile icon
JimBob5

Thanks for the feedback, but they are currently added.