This is a simple jupyter notebook where you can run the cells in order to test playing against a human player in 4 in a row tic-tac-toe for my reinforcement learning class project.
Store which agent with p1 = Player(“computer”, exp_rate=0). Load policy using p1.loadPolicy(‘name’). st = State(p1, human) to set the human player. and then st.playHuman() to play.