Share your repls and programming experiences

← Back to all posts
Battle Simulator
DerekHu2 (2)

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!

Comments
hotnewtop
NeilBhaduri (72)

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!

NeilBhaduri (72)

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

DerekHu2 (2)

@NeilBhaduri ok import time and sleep