emag-test
Total time : ~5h PHP Version 7.4.5 , no need declare strict types anymore Run mode 2 ways :
1.Browser (just navigate to location)
2.Cli (just run php index.php)
Sample output:
Player health: 92
Player strength: 75
Player defence: 81
Player speed: 77
Player luck: 16
Player name: Wild Best
Player health: 62
Player strength: 88
Player defence: 60
Player speed: 59
Player luck: 39
Total rounds: 20
First Attacker is : Orderus
Player is more fast than AiPlayer speed result is : 77
Player :Orderus will start
Turn is started : 1
Player luck: 1
Player luck: 58
Player luck is : 1
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -13
AiPlayer Health is : -13
Turn is started : 2
Player luck: 23
Player luck: 76
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -13
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 3
Player luck: 98
Player luck: 83
Player luck is : 98
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -88
AiPlayer Health is : -88
Turn is started : 4
Player luck: 68
Player luck: 91
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -88
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 5
Player luck: 74
Player luck: 94
Player luck is : 74
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -163
AiPlayer Health is : -163
Turn is started : 6
Player luck: 24
Player luck: 99
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -163
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 7
Player luck: 88
Player luck: 59
Player luck is : 88
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -238
AiPlayer Health is : -238
Turn is started : 8
Player luck: 66
Player luck: 21
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -238
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 9
Player luck: 0
Player luck: 18
Player luck is : 0
Player no luck this turn : 9
Turn is started : 10
Player luck: 5
Player luck: 74
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -238
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 11
Player luck: 61
Player luck: 26
Player luck is : 61
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -313
AiPlayer Health is : -313
Turn is started : 12
Player luck: 51
Player luck: 62
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -313
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 13
Player luck: 65
Player luck: 35
Player luck is : 65
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -388
AiPlayer Health is : -388
Turn is started : 14
Player luck: 52
Player luck: 85
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -388
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 15
Player luck: 29
Player luck: 92
Player luck is : 29
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player have luck between 10% and 30 % or can double attack
Player health: -484
AiPlayer Health after attack: -484
Total dmg taken: 96.75
Turn is started : 16
Player luck: 82
Player luck: 14
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -484
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 17
Player luck: 35
Player luck: 28
Player luck is : 35
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -559
AiPlayer Health is : -559
Turn is started : 18
Player luck: 54
Player luck: 35
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -559
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Turn is started : 19
Player luck: 54
Player luck: 96
Player luck is : 54
Player luck is not 100% and can have change for spells
Player have strength > aiPlayer defence
Player health: -634
AiPlayer Health is : -634
Turn is started : 20
Player luck: 56
Player luck: 41
Player Luck for this turn is : 92
AiPlayer Luck for this turn is : -634
AiPlayer have strength > Player defence
AiPlayer have strength < Player defence
Winner is : Orderus