{"id":18969192,"url":"https://github.com/nicolasalmerge/chaslesgame","last_synced_at":"2026-01-27T11:01:46.875Z","repository":{"id":115088554,"uuid":"498258842","full_name":"NicolasAlmerge/ChaslesGame","owner":"NicolasAlmerge","description":"Chasles Game to learn vector rules in a fun way","archived":false,"fork":false,"pushed_at":"2024-06-14T06:13:53.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T10:51:40.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Mathematica","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NicolasAlmerge.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-05-31T08:55:29.000Z","updated_at":"2024-06-14T06:13:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"d00a1a72-fff1-420d-bc3b-5dc7f5fa44da","html_url":"https://github.com/NicolasAlmerge/ChaslesGame","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NicolasAlmerge/ChaslesGame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasAlmerge%2FChaslesGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasAlmerge%2FChaslesGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasAlmerge%2FChaslesGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasAlmerge%2FChaslesGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicolasAlmerge","download_url":"https://codeload.github.com/NicolasAlmerge/ChaslesGame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicolasAlmerge%2FChaslesGame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-08T14:52:09.477Z","updated_at":"2026-01-27T11:01:46.859Z","avatar_url":"https://github.com/NicolasAlmerge.png","language":"Mathematica","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chasles Game\n\nA fun and very unique game to learn about vector operations visually.\n\nAfter compilation, the game starts as a 5×5 grid, consisting of 20 blocks. Each block is like a vector, with two color endpoints and a coefficient.\nThe black boxes represent the empty cells, or the zero vector.\n\n\u003cimg width=\"996\" alt=\"01\" src=\"https://user-images.githubusercontent.com/44474247/171137433-b812bf71-cae2-4a40-ad97-8ddc90cd977d.png\"\u003e\n\nUsing the given buttons, you can move the blocks around to combine them!\n\nIn the example below, moving the piece on the far left of the fourth line to the right combines the two blocks together using the vector addition rule.\nMathematically, this is represented as: 2AB + 2BC = 2AC.\n\n\u003cimg width=\"992\" alt=\"02\" src=\"https://user-images.githubusercontent.com/44474247/171138000-7e587025-1dd3-4a3a-a03e-0e07cbf21626.png\"\u003e\n\nAnother example of combination is shown below with the two blocks at the bottom of the middle column, still using the vector addition rule.\nThe mathematical representation of this operation is: 1CD + 2CD = 3CD.\n\n\u003cimg width=\"992\" alt=\"03\" src=\"https://user-images.githubusercontent.com/44474247/171140725-2d9f5c40-51c0-48c3-b49c-eb891c9e491a.png\"\u003e\n\nIf no combination is possible, blocks are simply swaped without changes. Below is an example of swapping the two adjacent top blocks with coefficient two.\n\n\u003cimg width=\"991\" alt=\"04\" src=\"https://user-images.githubusercontent.com/44474247/171141707-0d6f1e11-c3c8-4cca-a8ce-e4f649451483.png\"\u003e\n\nThe goal of the game is to combine as much as possible to get one block at the end. Thanks to the way the blocks are built, this is always possible!\n\n\u003cimg width=\"994\" alt=\"05\" src=\"https://user-images.githubusercontent.com/44474247/171142168-cf492656-1d3d-40ab-8273-cf627010ba7a.png\"\u003e\n\nClick the **Replay** button to restart the current game, or **New Game** to start a new one.\n\n\u003cimg width=\"992\" alt=\"06\" src=\"https://user-images.githubusercontent.com/44474247/171138365-206fd6f7-7f27-444e-a55e-814fbc042280.png\"\u003e\n\nHave fun!\n\n\n# Requirements\n\n- Wolfram Mathematica, version 12.3 or higher\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasalmerge%2Fchaslesgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolasalmerge%2Fchaslesgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolasalmerge%2Fchaslesgame/lists"}