Jedi Training is a PICO-8 game by PixelDough.

In this Pico-8 game, you choose your attack, defense, and health stats before facing off against a Sith lord! The gameplay is simple: You can choose to attack or dodge. If you attack, a random number will be chosen between 0 and your attack stat, and another number between 0 and the enemy’s defense stat. If your number is better than his, he will take 1 damage. If you dodge, you can still be damaged that turn, but for the next turn, your defense number will be multiplied by 2.

http://www.lexaloffle.com/bbs/?tid=28258