Trin sticks

Trin Sticks was a game of chance, played with a large tub of long sticks with each end consisting of one of four colors: red, blue, green or yellow. The objective of the game was to see how well one could form a geometric shape from their six sticks. Up to five sticks could be discarded back into the tub, the player drawing the same number. The sticks were chosen at random, the players concealing one end of each stick as they displayed their hands, betting on how well they thought they could do.

To form a shape, the colors on the ends had to match, red to red, blue to blue, etc. Larger/more complex shapes were worth more, but also involved rarer stick combinations. The best possible hand was two triangles, called "trin"

Source
Galactic Campaign Guide