Let $G$ be a graph with three disjoint triangles(i.e. the graph is not connectd and has three connected components each of which is a triangle). If each vertex of G is assigned a red or a green color, then we say that an edge is colored if its ends have different colors. Person A and Person B color the vertices of G in the following manner. A proposes a color (red or green) and B chooses the vertex to apply this color. After 9 turns, all the vertices of G are colored and the number of colored edges is counted. Suppose A would like to maximize the number of colored edges while B would like to minimize the number of colored edges. Assuming optimal play from both players, how many edges will be colored?
This is a puzzle I would like to know the answer to. I suspect that finally two triangles will have the same color for all vertices while the third one will have two same and one different color.
What is the correct logic?
This is a rather tentative answer, as I don't have a proof that this is the best strategy on either part, but it might be useful none the less.
The first pick of course doesn't matter, so say it's red ($r$), so we have the triangles: $$ (r,\cdot,\cdot), (\cdot, \cdot, \cdot), (\cdot, \cdot, \cdot) $$ If $A$ picks $r$ again, $B$ can put it on the first triangle, which is a loss for $A$, then applying the same idea, $A$ can pick $$ (r,\cdot,\cdot), (g, \cdot, \cdot), (\cdot, \cdot, \cdot) $$
Then no matter whether $A$ picks $r$ or $g$, $B$ can place it in $B$'s favour (so say it's $r$) $$ (r,r,\cdot), (g, \cdot, \cdot), (\cdot, \cdot, \cdot) $$
$(\ast)$If $A$ keeps picking $r$, $B$ can force two monochrome triangle before colouring a vertex on the second triangle: $$ (r,r,r), (g, r, \cdot), (r,r,r) $$ Then $A$ finishes with 2 edges.
If at $(\ast)$ $A$ picks $g$, $B$ can place it on the second triangle: $$ (r,r,\cdot), (g, g, \cdot), (\cdot, \cdot, \cdot) $$ $A$ can't pick $r$ or $g$ without losing a triangle, and then choosing the other colour for the pick after would lose another triangle, so $A$'s best option is to pick one colour twice: $$ (r,r,r), (g, g, \cdot), (r, \cdot, \cdot) $$ But then we're back to a similar postion as $(\ast)$, if $A$ at any point picks $g$, then second triangle is lost to $B$, but only picking $r$ loses the third, so in either case the best $A$ can get is two edges on of the triangles (choose the same colour for the last three moves): $$ (r,r,r), (g, g, r), (r, r, r) $$