fixed bugs, refactored. working tournament rps app