Share your repls and programming experiences

← Back to all posts
Battle Simulator
DerekHu2

Battle against randomized characters while choosing the right one for you! Sorry it repeats. There is a 50% chance that the computer will automatically defeat the enemy for you!

Voters
DerekHu2
NeilBhaduri
Comments
hotnewtop
NeilBhaduri

Awesome Game !!! I love it! Only one thing:

import os; os.system('clear') is a code which will clear the screen. Try adding it after each battle. Other than that, great job!

DerekHu2

@NeilBhaduri ok i will import os

NeilBhaduri

@DerekHu2, also do time.sleep(5) so I can see the results of the battle.

DerekHu2

@NeilBhaduri ok import time and sleep

NeilBhaduri