This is an example implementation of the Pokemon damage formula v1 on Sui with a simple example of a game that uses it in 2 modes: single player (vs bot) and multiplayer.
You can either play the prototype on testnet by looking into cli folder or use the library in your own project. The algorithm is not yet published on any of the environments, so you need to include it as a dependency and either publish separately or together with your package.
[dependencies]
Sui = { git = "https://github.com/damirka/pokemon-formula.git", subdir = "packages/pokemon", rev = "main" }
Package is live on testnet. Go to CLI for a guide.