{"id":18720571,"url":"https://github.com/samchenyu/javachessengine","last_synced_at":"2026-01-31T07:03:05.278Z","repository":{"id":215516185,"uuid":"738624724","full_name":"SamChenYu/JavaChessEngine","owner":"SamChenYu","description":"Chess Engine Developed With The MiniMax Algorithm","archived":false,"fork":false,"pushed_at":"2024-09-12T14:57:24.000Z","size":445,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"Piece-2D-Array-Representation","last_synced_at":"2025-06-22T07:03:53.201Z","etag":null,"topics":["chess-engine","minimax","minimax-alpha-beta-pruning","oop","piece-square-tables"],"latest_commit_sha":null,"homepage":"","language":"Java","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/SamChenYu.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-03T16:54:46.000Z","updated_at":"2024-09-12T14:57:29.000Z","dependencies_parsed_at":"2025-04-12T14:32:50.681Z","dependency_job_id":null,"html_url":"https://github.com/SamChenYu/JavaChessEngine","commit_stats":null,"previous_names":["samchenyu/javachessengine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamChenYu/JavaChessEngine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamChenYu%2FJavaChessEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamChenYu%2FJavaChessEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamChenYu%2FJavaChessEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamChenYu%2FJavaChessEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamChenYu","download_url":"https://codeload.github.com/SamChenYu/JavaChessEngine/tar.gz/refs/heads/Piece-2D-Array-Representation","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamChenYu%2FJavaChessEngine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28932598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-engine","minimax","minimax-alpha-beta-pruning","oop","piece-square-tables"],"created_at":"2024-11-07T13:31:40.196Z","updated_at":"2026-01-31T07:03:05.264Z","avatar_url":"https://github.com/SamChenYu.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaChessEngine\nIn-Progress Chess Engine Developed With The MiniMax Algorithm Built From Scratch.\n\nCurrent Estimated Elo (Depth 4) at 1150\n \n## Match History\n### Martin 250 Elo Bot (www.chess.com)\n- 31/02/2024 Depth 1 Engine : LOSS \n- 04/02/2024 Depth 4 Engine: WIN \n### Sven 1100 Elo Bot (www.chess.com)\n- 08/02/2024 Depth 4 Engine: WIN \n\n## EVALUATION Method  \nThe evaluation method is between -1 and 0.\n\n1 is checkmate for white\n\n-1 is checkmate for black\n\n0 is equal evaluation or stalemate\n\nThe evaluation takes into account two factors:\nPosition difference and material difference.\n\nThe positional difference is calculated with piece square tables where each piece has assigned values on every square, determining the strength of the particular position. The material difference is calculated with a sigmoid function:  \n\n$y = \\frac{1}{1.1 + e^{(-x+4)}} \\quad \\text{for} \\quad 1 \u003c x \u003c 39$\n\nwhere x is the numerial material difference and y is the material evaluation.\nThese two factors are weighted dynamically, where very similiar material will weigh position more, whilst bigger material difference will weigh position less.  \n[Link to PeSTO's Evaluation Function](https://www.chessprogramming.org/PeSTO%27s_Evaluation_Function)\n\n[Link to the TalkChess forum discussion](http://www.talkchess.com/forum3/viewtopic.php?f=2\u0026t=68311\u0026start=19#)\n\n\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/SamChenYu/JavaChessEngine/assets/150127006/f254d4b6-aa5b-4a99-8ab3-1cf218cc59eb\" alt=\"Image Alt Text\"\u003e\n\u003c/div\u003e\n\n\n\n\u003cdiv style=\"text-align:center;\"\u003e\n    \u003cimg src=\"https://github.com/SamChenYu/JavaChessEngine/assets/150127006/d857dc26-99a5-4608-a0f1-c937d830824d\" alt=\"EnginePanel\"\u003e\n\u003c/div\u003e\n\n\n[Link to RyiSnow's Chess Pieces](https://ryisnow.itch.io/pixel-art-chess-piece-images)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchenyu%2Fjavachessengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamchenyu%2Fjavachessengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchenyu%2Fjavachessengine/lists"}