Open adapap opened 3 years ago
What if we could just serialize the transactions to bytes? We wouldn't need to write tons of code to create those strings.
Perhaps for testing purposes that would be sufficient. Then I guess we can create the battle output as a subpackage for use with something like a CLI or the REST API.
To quickly debug hundreds, or thousands of random battles, we need a way to quickly capture the results of part or entire battle. The best way to do this is to create a string representation of the battle, which can double up as output to be read by the end user.
This is what I had in mind:
Example output:
This is quite a substantial change and should be planned well before any implementation starts. It's also probably too early to be concerned with this at the moment.
Related:
12