This repo has two pyton files:
-
Human-vs-Ai-Rock-paper-Scissors
-
Ai-vs-Ai-Rock-Paper-Scissors
-
Human-vs-Ai-Rock-paper-Scissors allows you to play against the Ai using your terminal. Simply make your choice by typing rock, paper, or scissors.
-
Ai-vs-Ai-Rock-Paper-Scissors simulates a game of Rock-Paper-Scissors bewteen a Maximizing player and a Minimizing player.
Both of these examples use Minimaxing and Alpha beta Pruining to make decisions.
My LinkedIn : https://www.linkedin.com/in/ian-parker-596011142/
References:
- MIT OpenCourseWare Search: Games, Minimax, and Alpha-Beta https://www.youtube.com/watch?v=STjW3eH0Cik&list=PLUl4u3cNGP63gFHB6xb-kVBiQHYe_4hSi&index=7
- Tic-Tac-Toe using Alpha-Beta Pruning: https://github.com/ianmparker/tic-tac-toe-AI-using-alpha-beta