{"id":25878634,"url":"https://github.com/potherca-blog/chess-random-ness","last_synced_at":"2026-02-02T18:03:08.266Z","repository":{"id":41883453,"uuid":"476033055","full_name":"potherca-blog/chess-random-ness","owner":"potherca-blog","description":"Chess Random Ness","archived":false,"fork":false,"pushed_at":"2023-12-15T02:43:24.000Z","size":16,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T12:40:54.295Z","etag":null,"topics":["chess","chess-ai","chess-board","chess-engine","chess-game","chessboard","chessprogramm","potherca","potherca-blog","random","random-number-generators","randomization","randomness","randomness-testing"],"latest_commit_sha":null,"homepage":"https://blog.pother.ca/chess-random-ness/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/potherca-blog.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}},"created_at":"2022-03-30T20:00:58.000Z","updated_at":"2024-09-25T21:43:32.000Z","dependencies_parsed_at":"2025-03-02T12:35:29.374Z","dependency_job_id":"c469a51e-556d-463f-be15-5ca23bc3c0b1","html_url":"https://github.com/potherca-blog/chess-random-ness","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/potherca-blog/chess-random-ness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fchess-random-ness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fchess-random-ness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fchess-random-ness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fchess-random-ness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/potherca-blog","download_url":"https://codeload.github.com/potherca-blog/chess-random-ness/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potherca-blog%2Fchess-random-ness/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261494811,"owners_count":23167207,"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-ai","chess-board","chess-engine","chess-game","chessboard","chessprogramm","potherca","potherca-blog","random","random-number-generators","randomization","randomness","randomness-testing"],"created_at":"2025-03-02T12:35:26.948Z","updated_at":"2026-02-02T18:03:08.210Z","avatar_url":"https://github.com/potherca-blog.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chess Random Ness\n\nRecently I came across [an old tweet of mine](https://twitter.com/potherca/status/1445377701896990727?s=20\u0026t=H_hFXDZdm_d_yZLlEC6lzg)\nabout [an example of Chessboard.js where both sides are played by `Math.random()`](https://chessboardjs.com/examples/5002)\n\nFor fun, I made [a Codepen based on that example](https://codepen.io/potherca/full/zYpzjqX) that is slightly more sped up.\n\nOf course, as these things do, one thing led to another, so I present to you: CRN (Chess Random Ness)\n\nThis is basically a more elaborate version of the orignal demo, with some buttons added and some statistics thrown in.\n\nYou can see it in action at: https://blog.pother.ca/chess-random-ness/\n\n## Screenshot\n\n![image](https://user-images.githubusercontent.com/195757/160922731-e9ad5d12-a738-46fb-aa97-52db3ff1e323.png)\n\n\n## Example of (roughly) a thousand runs\n|         |                       |         |\n| ------- | --------------------- | ------- |\n| Wins    | ♚                     |      77 |\n|         | ♔                     |      73 |\n| Draws   | Insufficient Material |     579 |\n|         | Fifty-move Rule       |     230 |\n|         | Stalemate             |      60 |\n|         | Threefold Repetition  |      28 |\n| Total   | Games                 |    1047 |\n|         | Draws                 |     897 |\n|         | Wins                  |     150 |\n|         | Moves                 |  362080 |\n| Average | Moves per Game        |     346 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotherca-blog%2Fchess-random-ness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpotherca-blog%2Fchess-random-ness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotherca-blog%2Fchess-random-ness/lists"}