use magic square algorithm to determine victor, use gulp + browserify, add travis ci