Engine for a trade function in my upcoming hockey game. 6 players, each has a random trade value (will be set to player skills in actual game), trades with similar trade value will be accepted, otherwise not. Leniency is random between 5 and 25, it shows how likely the trade will be accepted. Press trade button again after accept or reject to reset.
Sorry for the amount of variables. I know it's a mess but if I don't put projects out, I'll lose motivation and quit AGAIN.