+ 1

How can I upgrade this code

new chest or name of cards (e.g mega minon or royal gigant) (sorry for bad English im from Poland) https://code.sololearn.com/cjGdghZjDA01/?ref=app

24th May 2017, 8:37 PM
Temmie!
Temmie! - avatar
2 Réponses
+ 5
Some improvements that could be made: *You do not need multiple Random objects here. *You can heavily reduce the amount of code used by having a single method resolve the output. Do not worry about this if you are not comftorable with parameters. *You can just use \n to move to another line instead of calling the WriteLine method again. I'd say this is 'hard-coded'. Good job though!👌
24th May 2017, 8:51 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
thanks
24th May 2017, 9:04 PM
Temmie!
Temmie! - avatar