299. There are 8 balls: 2 red, 2 blue, 2 white, and 2 black. Players A and B take turns attaching one ball to one of the vertices of a cube. Player A aims to achieve a vertex such that this vertex and its three adjacent vertices each have a ball of a different color, while Player B aims to prevent this. Who will win with the correct strategy?
$\triangle$ The problem does not specify who starts the game - A or B. Therefore, let's consider two cases.

1) Suppose A starts the game.

If A, for example, attaches a red ball to one of the vertices of the cube, then B's best response is to attach a red ball to one of the adjacent vertices, and so on (Fig. 36). Consequently, in this case, B wins.

2) Suppose B makes the first move.

If B first attaches, say, a blue ball to one of the vertices, then A should attach a blue ball, but not to an adjacent vertex, rather to the opposite vertex, and so on (Fig. 37). Clearly, in this case, A wins.

Answer: The one who moves second wins.