{"id":19914985,"url":"https://github.com/marianapatcosta/my-hex-2048-game","last_synced_at":"2026-04-11T09:04:49.914Z","repository":{"id":105915921,"uuid":"455710932","full_name":"marianapatcosta/my-hex-2048-game","owner":"marianapatcosta","description":"Hexagonal version of the popular 2048 game","archived":false,"fork":false,"pushed_at":"2023-01-30T15:25:21.000Z","size":733,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T23:17:38.021Z","etag":null,"topics":["game","jest","react","react-testing-library","responsive-design","scss","scss-modules","typescript","web"],"latest_commit_sha":null,"homepage":"https://marianapatcosta.github.io/my-hex-2048-game/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marianapatcosta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-04T22:09:01.000Z","updated_at":"2023-03-07T03:25:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"d995b144-bd4d-4b37-9fc6-37bcb30796fa","html_url":"https://github.com/marianapatcosta/my-hex-2048-game","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/marianapatcosta%2Fmy-hex-2048-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianapatcosta%2Fmy-hex-2048-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianapatcosta%2Fmy-hex-2048-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marianapatcosta%2Fmy-hex-2048-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marianapatcosta","download_url":"https://codeload.github.com/marianapatcosta/my-hex-2048-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241342926,"owners_count":19947299,"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":["game","jest","react","react-testing-library","responsive-design","scss","scss-modules","typescript","web"],"created_at":"2024-11-12T21:37:52.700Z","updated_at":"2025-11-25T09:02:47.325Z","avatar_url":"https://github.com/marianapatcosta.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hexagonal 2048\n\nHexagonal version of the popular 2048 game developed with React, TypeScript and SCSS-modules; includes unit tests. This game has has different levels, as the player can choose the number of hexagons to display. The game ends when the uscoverer wins (i.e. a hexagon cell has a value of 2048) or when there are no more possible moves.\n\n![hex-2048-game](https://user-images.githubusercontent.com/43031902/152609915-1c64e5f4-ee85-4b6f-adc4-81cf11691bb3.png)\n\n\n## How to Play\nMove the numbers in the hexagon cells towards one of the 6 possible directions, by pressing the corresponding keyboard keys (see the table below). The player should match adjacent cells with the same value, so their value in summed and merged into one cell (e.g. 2 2 -\u003e 4). The player wins when a cell has 2048 as a value. These are the available command keys:\n\n| Direction                 | Keyboard key |\n| ------------------------- | :----------: |\n| north (top)               |      w       |\n| north-east (top-right)    |      e       |\n| north-west (top-left)     |      q       |\n| south (bottom)            |      s       |\n| south-east (bottom-right) |      d       |\n| south-west (bottom-left)  |      a       |\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `yarn test:unit`\n\nLaunches the unit test runner in the interactive watch mode.\n### `yarn test-coverage:unit`\n\nLaunches the unit test runner in the interactive watch mode and shows tets coverage report.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianapatcosta%2Fmy-hex-2048-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarianapatcosta%2Fmy-hex-2048-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarianapatcosta%2Fmy-hex-2048-game/lists"}