{"id":15318249,"url":"https://github.com/chrisvander/2048-expectimax","last_synced_at":"2025-04-15T02:23:46.576Z","repository":{"id":72967083,"uuid":"131103614","full_name":"chrisvander/2048-Expectimax","owner":"chrisvander","description":"A 2048 AI, written in C++ using an ASCII interface and the Expectimax algorithm.","archived":false,"fork":false,"pushed_at":"2022-01-25T05:08:34.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T14:11:12.558Z","etag":null,"topics":["2048","2048-game","ai","ansi","ascii","bitboards","expectation-maximization","expectimax","multithreading","solvers"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/chrisvander.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":"2018-04-26T05:17:35.000Z","updated_at":"2024-03-16T09:41:33.000Z","dependencies_parsed_at":"2023-09-18T14:01:29.148Z","dependency_job_id":null,"html_url":"https://github.com/chrisvander/2048-Expectimax","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.0625,"last_synced_commit":"01e44904d5a925da8f7d762fabc201329c96bf34"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisvander%2F2048-Expectimax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisvander%2F2048-Expectimax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisvander%2F2048-Expectimax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisvander%2F2048-Expectimax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisvander","download_url":"https://codeload.github.com/chrisvander/2048-Expectimax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248992362,"owners_count":21195030,"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":["2048","2048-game","ai","ansi","ascii","bitboards","expectation-maximization","expectimax","multithreading","solvers"],"created_at":"2024-10-01T08:59:28.097Z","updated_at":"2025-04-15T02:23:46.544Z","avatar_url":"https://github.com/chrisvander.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2048 AI\n[![Build Status](https://travis-ci.org/chrisvander/2048-Expectimax.svg?branch=master)](https://travis-ci.org/chrisvander/2048-Expectimax)\n\nAn in-console game of 2048. Play as single player and see what the heuristics do, or run with an AI at multiple search tree depths and see the highest score it can get.\n\n## To download and install\nFor a machine that has g++ installed, getting this running is as easy as \n```\ngit clone https://github.com/chrisvander/2048-Expectimax\ncd 2048-Expectimax\nmake\n./game\n```\nYou don't have to use `make`, any OpenMP-compatible C++ compiler should work.\n\n## Modes\n### AI\nRuns with an AI. Specify a number for the search tree depth. For example, 4 is a moderate speed, decent accuracy search to start at.\n### Random Maxing\nPlays the game several hundred times for each possible moves and picks the move that results in the highest average score.\n### Random\nJust plays it randomly once. No idea why I added this.\n### Debug\nView the heuristic score of any possible board state.\n### Singleplayer\nJust play 2048! Provides heuristic scores and before/after compacting of columns and rows for debug purposes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisvander%2F2048-expectimax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisvander%2F2048-expectimax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisvander%2F2048-expectimax/lists"}