tournament automating script
foo bar
won -> win