I will be printing out a 5 servo robotic arm soon and am currently wondering how possible it would be to code it to perform tic tac toe or other games. I understand about the use of minimax for the move choosing and want to use a keypad to input the move the human made.
I am stuck on how to program such, would the keypad move be sent to the Arduino, then minimax would decipher the next move, then I would need to have stored positions for the arm to move.
Servowrite(90) //and so on for the positioning?
Any input or help would be appreciated, also if this is too complicated would there be any other things to do with a robotic arm? I may doing this for a project at school.