njmarko /
alpha-beta-pruning-minmax-checkers
Minmax (minimax) algorithm with Alpha-Beta (𝛼−𝛽, ab) Pruning optimization for the Checkers (Draughts) game in Python 3. Same minimax algorithm works for chess, tic tac toe or similar games.
61/100 healthLoading repository data…
956MB / repository
Checkers in the console, written in Python.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
. ○ . ○ . ○ . ○
○ . ○ . . . ○ .
. ● . ○ . . . .
. . . . . . ○ .
. . ○ ○ . ● . .
● . . . . . . .
. ● . . . ● . ●
● . ● . ● . ● .
Usage:
$ ./checkers.py -r -c 44 # Play against random moves with board color blue.
$ ./checkers.py -r -m # Play against random moves with random board color, and disable showing available moves.
$ ./checkers.py -d .1 -s # Simulate random moves game with delay of .1, and random board color.
$ ./checkers.py -h
usage: checkers.py [-h] [-V] [-r] [-e] [-s] [-d DELAY] [-c [{42,43,44,45,46,47}]]
[-l] [-m]
Play Checkers in the terminal. Written in Python.
optional arguments:
-h, --help show this help message and exit
-V, --version show script version
-r, --random play against random moves
-e, --extra show extra game info after win
-s, --sim simulate random moves game
-d DELAY, --delay DELAY
delay between moves played in simulated game
-c [{42,43,44,45,46,47}], --color [{42,43,44,45,46,47}]
choose to select one color for the style of game,
instead of random on load
-l, --log disable logging of games to logs/ for highscore
-m, --moves disable showing of available moves in game
Selected from shared topics, language and repository description—not editorial ratings.
njmarko /
Minmax (minimax) algorithm with Alpha-Beta (𝛼−𝛽, ab) Pruning optimization for the Checkers (Draughts) game in Python 3. Same minimax algorithm works for chess, tic tac toe or similar games.
61/100 healthEdwardb11 /
This is my Python OOP project, where I will test my knowledge in this style of programming in Cincinnatus, the project is the Checkers Game.
38/100 healthMaksTsymbal /
Checkers game written in Python using the Tkinter graphics library.
byacine150 /
Simple game with the library Pygame in python
29/100 healthPedro-tester-1 /
A fully-featured Checkers game built in Python, playable in the terminal or with a graphical interface. Supports human vs human, human vs AI (minimax), and highlights legal moves.
50/100 healthSupriyo-Mandal /
Dice Rolling Simulator Python Game [Source Code Included] Free Python course with 35 real-time projects Start Now!! Snake and Ladders, Ludo and Checkers, are the most favorite games of all time. But, it feels terrible when you drop the plan of playing just because you couldn’t find the dice. So, here is a fascinating option to give you a chance to make something cool. Let’s build a Dice Rolling Simulator with basic knowledge of Python. What is Tkinter? Python offers various packages to design the GUI, i.e. the Graphical User Interface. Tkinter is the most common, fast, and easy to use Python package used to build Graphical User Interface applications. It provides a powerful Object-Oriented Interface and is easy to use. Also, you develop an application; you can use it on any platform, which reduces the need of amendments required to use an app on Windows, Mac, or Linux. Dice Rolling Simulator in Python We all know about dice. It’s a simple cube with numbers from 1 to 6 written on its face. But what is simulation? It is making a computer model. Thus, a dice simulator is a simple computer model that can roll a dice for us. We aim to build a dice simulator which looks like: dice rolling simulator
16/100 health