Share your repls and programming experiences

← Back to all posts
41
Pokémon Battle Game

Introduction

Hello Guys, This is my game for GameJam.
I just started learning python and thought I should participate in this event too. :)
This was all I could do in the given time and oh thanks to the school for giving me such free time, I had more plans but nevermind. It's still a lot better than before.


About the game

Main Goal
The idea is to defeat the gym leaders, collect the badges, win the pokemon championship league and rise.
The game has a difficulty level set for each level. The enemy Pokémon now appear based on the gym leader. For example, Misty only has a water type pokemon. This may seem easy in the beginning but the game gets pretty hard as you level up. This game is not just about the moves, it's pretty much about the tactics too. The damage done by each move is not defined and hence the user has to choose the most suitable move for that time.
Each pokemon comes with different evolution and with each evolution gets a power boost. The user also earns coins per fight. After reaching a certain evolution and having enough coins, the user can purchase attacks from the shop.
You can also purchase Pokémon from the store though purchasing a pokemon can be expensive. :p

  • Attack Damage depends upon the type of Pokémon. This is included with the help file

Modes

There are 3 modes in this game

Story Mode

This will follow the main goal.
You fight trainers, get items and progress in the game.

Free Roam

Now, this mode is created only for the purpose of earning extra money.
In free roam mode, you will encounter 2 type of enemies, team rocket or random trainers. You will get 50 Poké per match.
There is a surprise after you beat Cerulean City Gym Trainer. :D

Random Trainers:

  • You will encounter random players, their pokemon level will be based on your pokemon level.

Team Rocket:

  • Their Pokemon are exclusive to them, they are not made available for purchase.

Survival Mode

  • Play to see it for yourself. :p

Shop

Almost Everything is available for purchase here, from pokemon to their health and even their attacks

I spent most of the time here so please do check all items.


Storyline

Today is the day you are going to get your first pokemon but wait, ARE YOU SLEEPING ?!
You woke up late on the day you were going to get your first pokemon and now you are left with only 3 choices.

  • Pichu(Yes not even Pikachu. )
  • Charmander
  • Squirtle
    You choose one pokemon and embark on your journey to become the best Pokémon trainer. You fight gym leaders in order to acquire 'Gym Badges'. These gym badges are required to enter Pokémon Championship League.

Credits

Images used in the post, belong to their respective owners.
Thanks to Amelia Blackwell and leon332157 for the amazing json store library idea.

If you guys find any bugs please comment down below.
Also, if you like the game, don't forget to upvote it. :)
I recommend playing in a new tab as this game use ascii art
Click Here to Play

Commentshotnewtop
4

where's the homie bulbasaur tho

1

@bigjosh I have some different plans for bulbasaur, i’m trying to make a storyline here. It will definitely be added in the next update.

2
1

@DhairyaSHAH1 Thanks a lot, i really worked so hard on this one.

2

Good job man, it was pretty fun.
Played until I got Mew.

1

@Night_Shadow wait a while man, i'll be updating the game within a few minutes.
I've changed the whole storyline, and new things are added.
And Thanks.

1
[deleted]

@SuyashAgarwal With mewtwo the and dragonite. The Game is BORING.

1
[deleted]

@SuyashAgarwal With mewtwo and dragonite. The Game is boring.

1
[deleted]

@SaptarshiHalder Make mew and dragonite costlier and make Sabrina use weaker Psychic Pokemons like Psyduck and Gold Duck.

1

how did you move it to a different tab and also erase past things, good game trying adding like animations like my rpg i made

1

Hey, I've looked into the code and it looks great but I have a few things you should check on

1) this happened twice but Gary sometimes doesn't have a Pokemon when I fight so I can just do the same attack over and over again and can win.
2) I would play till misty and something screws up and I can't play anymore.

otherwise this looks good. Keep up the good work

1

@JoshuaYeatman oh, I'm sorry, what you saw was a very old version of this game,
I was experimenting something so I had reverted back to that version.
Please try again, everything should work perfectly fine now.
Btw, I've made some changes in design. :D

1

@SuyashAgarwal psyduck is broken, it wont let me use any of his attacks, it pops up an error and quits the repl

1

@Nanowrimoijk thanks for reporting the error, i'll look into it

1

@SuyashAgarwal also i was having the same problem with certain trainers though i cant recall their names

1

dang, misty acts like Undyne. great. game btw! also you say there are 4 badges but list 5

1

Why no Bulbasaur?!?!

1

@ReshiramWolfu, Bulbasaur is in game if you follow storyline. I just didn’t make him an option in starting.

1

game's pretty interesting but cant defeat lt. surge

1

@HassaanArshad, you won’t play a game that’s too easy to beat, would you? By the way, you can defeat Lt. Surge but it all depends upon the choices you make.
Hint: You need a fully evolved pokemon + health potion + high level attack to beat him.

1

oh nvm you just have to hit enter to go to the next step

1

Everything looks cool but the game crashes when you signup .

1

I had just started, it was quite interesting, but I ran into an error

Also, I noticed I was able to buy the same "attack" multiple times.
And, the "heal" option in combat, it was not really good enough, at least in the early game. It healed so little compared to the attack damage even in the earliest of battles. Maybe you should improve the "heal", make it more balanced, or prevent attacks while healing, or something like that.

1

@AkhilGupta thanks for the info.
1- This error is not from my side, it must either be the repl server or the json store server.

2- About buying the same attack multiple times, I’ll fix it on a new repl(as i can’t make changes to this one). I was so focused on adding new things i hardly had any time left for testing. 😝

3- The heal option yeah, I also thought it should heal more but...... i forgot😶. I’ll fix it.

So, thanks again for testing the game, i really needed guys like you who could do the bug testing.
But nvm.

1

@SuyashAgarwal
1 - If you think this is on Repl's end, I really think you should report it. This will help them make a better IDE, and also, might prevent the judges running into the same error. You can report it here: https://repl.it/bugs

2 - No worries. I understand, I was the same way. And when I finally did test my game, luckily a few days before the deadline, I realized it had so many bugs, some major ones.

3 - This is the only thing I wished you had tested/fixed before submission. I tried to keep testing the "Heal" move, thinking that I was doing something wrong. lol.

1

@AkhilGupta
Guess there’s no point in trying now. If people like it or want to see it evolving in future then I will make changes/add more things otherwise I’ll just leave this one as it is.

1

Game Updated, Check it :D

1
[deleted]

There is a bug that occurs when you press enter without choosing your pokemon.

1

@SaptarshiHalder Yeah, i was aware of that, i have fixed that problem, will release the update tomorrow. Thanks for the info btw. :D

1

Correction for the description: It is not "Pokemons", it is Pokemon.

2

@Night_Shadow , Thanks for the info, i'll edit it.

1

This is great! Minor glitch though, you start with 10 coins, when you start, you get 10 coins rather the necessary 15 to buy the first pokemon
Great game though!

1

@GreenOtterKid I did it on purpose because user receives 1 pokemon from Professor Oak. If you win the first fight, you get 5 coins from which you can buy a pokemon.

1
1

@KobeBeyer Can you please post the screenshot of error?

1

Wow! You just started learning Python? This is really advanced! Only a few minor suggestions:

  • allow more time to read each line in the introduction by increasing your t.sleep() value to 4
  • allow more time to read after choosing your primary Pokemon
  • change username to name so that Professor Oak doesn't call you something like bobc1234, etc.
  • place print("") elements between important lines such as the help file confirmation and the Weak Pokemons line.
  • use clear tool more
  • avoid spaghetti code! it makes the program hard to edit and interpret.

since these are just minor OCD things, you're getting an upvote from me anyway!

1

@itbarsoum Thanks a lot man, I’ll definitely work on these.

1

its called tic tac toe with bots

1

also check out mine

1

Hey! Is this an updated version?

1

@KatyaDelaney
No, this is the first one i made.