Building An Ethereum Simulation Game – Part 2 – Playing Tennis Matches

In part one, I outlined the idea for a Tennis Manager simulation game on the Ethereum Blockchain. I created the ERC721 Token and the TrainableTennisPlayer contract which enables owners to increase their player stats by training or resting.
Since that article, I’ve written some unit tests and made a few small changes to those contracts. Events have been added to TrainableTennisPlayer to emit when players are trained or rested. Some utility functions that were initially written in TrainableTennisPlayer have been moved to the TennisPlayerBase.