[{ "who": "you", "column": 4 },
{ "who": "me", "column": 3 },
{ "who": "you", "column": 4 },
{ "who": "me", "column": 2 },
{ "who": "you", "column": 4 },
{ "who": "me", "column": 4 },
{ "who": "you", "column": 5 },
{ "who": "me", "column": 6 },
{ "who": "you", "column": 5 },
{ "who": "me", "column": 1 },
{ "who": "you", "column": 5 },
{ "who": "me", "column": 5 },
{ "who": "you", "column": 3 }]
Where "me" was AI and "you" was I.It did block twice though.
My final prompt I tested with right now was:
Let's play connect 4. Before your move, explain your strategy concisely. Explain what you must do to make sure that I don't win in the next step, as well as explain what your best strategy would be. Then finally output the column you wish to drop. There are 7 columns. Always respond with JSON of the following format:
type Response ={
move_history: { who: string; column: number; }[]
am_i_forced_to_block: boolean;
do_i_have_winning_move: boolean; other_considerations: string[];
explanation_for_the_move: string;column_number: number; }
I start with 4.
ONLY OUTPUT JSON