{"id":26708504,"url":"https://github.com/triformine/py-chess-tk","last_synced_at":"2025-03-27T07:18:47.074Z","repository":{"id":42191197,"uuid":"477658699","full_name":"TriForMine/py-chess-tk","owner":"TriForMine","description":"A chess game written with python and Tkinter","archived":false,"fork":false,"pushed_at":"2022-04-11T09:11:26.000Z","size":564,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T17:32:59.842Z","etag":null,"topics":["chess","chess-game","python3","tkinter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TriForMine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-04T10:51:28.000Z","updated_at":"2024-05-01T17:32:59.843Z","dependencies_parsed_at":"2022-08-12T09:00:46.142Z","dependency_job_id":null,"html_url":"https://github.com/TriForMine/py-chess-tk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriForMine%2Fpy-chess-tk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriForMine%2Fpy-chess-tk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriForMine%2Fpy-chess-tk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriForMine%2Fpy-chess-tk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TriForMine","download_url":"https://codeload.github.com/TriForMine/py-chess-tk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245798244,"owners_count":20673906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess","chess-game","python3","tkinter"],"created_at":"2025-03-27T07:18:46.368Z","updated_at":"2025-03-27T07:18:47.068Z","avatar_url":"https://github.com/TriForMine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Py Chess Tk](https://github.com/TriForMine/py-chess-tk)\nA chess game written in python with tk\n\n![Preview](https://i.imgur.com/sFCSYrZ.png)\n\nThis project was made for a university project.\n\n## Features\n- Showing the board with pieces\n- Show a preview of the movements that are possible.\n- Moving pieces.\n- Capturing pieces\n- Turn by turn with a second player\n- Detect checkmate\n- Playing against a basic bot using [minimax algorithm](https://towardsdatascience.com/how-a-chess-playing-computer-thinks-about-its-next-move-8f028bd0e7b1) and [alpha-beta pruning](https://www.chessprogramming.org/Alpha-Beta).\n- Configuration menu, with restart, bot or 2 players, bot difficulty.\n- Prevent illegal/sucidal moves from being done.\n\n## What is missing\nThis project only includes the basis of chess.\u003cbr/\u003e\n- And doesn't contain everything like **Pawn Promotion, Castling, Passant**.\u003cbr/\u003e\n- It also doesn't contain any save/load board system, neither algebraic notation.\u003cbr/\u003e\n\n## Check and Checkmate detection\nThe project implements a basic detection for check and checkmate.\u003cbr/\u003e\nBut it might not be perfect and not always detect them.\u003cbr/\u003e\nBe aware of this if you want to play the game.\n\n## Unstable\nBe aware that this project is just a demo of what Tkinter and Python can do. \u003cbr/\u003e\nIt will probably contain bugs and doesn't detect everything correctly.\u003cbr/\u003e\n\n## Bot\nThe project implements a really simple bot using the minimax algorithm.\u003cbr/\u003e\nThis bot is not optimized and not really good. \u003cbr/\u003e\n\n\u003e You shouldn't try using a big depth for the bot, or it will really be slow.\n\n## Will this project be updated in the future?\nNo, this project was made for a university project, and I will not maintain it as I work on other big projects.\n\nIf you want to contribute feel free to open a pull request.\n\n## Why Tkinter?\nThis was the requirements for that project.\n\n## Where does the images' comes from?\nThe project uses the following [images](https://commons.m.wikimedia.org/wiki/Category:SVG_chess_pieces) which are under Creative Commons license.\n\n## Thanks\n- [CorentinGS](https://github.com/CorentinGS/Chess-Tkinter/) for suggesting some ideas and improvements to the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftriformine%2Fpy-chess-tk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftriformine%2Fpy-chess-tk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftriformine%2Fpy-chess-tk/lists"}