In a nutshell
Arranging the result of a contest in advance, such as by losing on purpose. Its known origin involves Go.
In detail
In the Meiji era, a greengrocer named Chobei is said to have lost Go games on purpose to a sumo elder to keep him happy, even though he was the stronger player. This story is said to be the origin of yaocho, the Japanese word for match fixing.
Everyday Japanese is full of words that came from Go or are connected to it.