{"id":20079728,"url":"https://github.com/grachale/pac_man","last_synced_at":"2025-06-28T18:35:30.653Z","repository":{"id":188047149,"uuid":"678021188","full_name":"grachale/PAC_MAN","owner":"grachale","description":"I am going to try to pay tribute to the great japanese game designer named Toru Iwatani, who created one of the most popular arcade games in the computer world - Pac-Man.","archived":false,"fork":false,"pushed_at":"2023-08-15T23:16:33.000Z","size":222,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T13:23:01.664Z","etag":null,"topics":["cpp","pacman-game","polymorphism","sdl2"],"latest_commit_sha":null,"homepage":"","language":"C++","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/grachale.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":"2023-08-13T12:32:15.000Z","updated_at":"2023-08-13T12:41:38.000Z","dependencies_parsed_at":"2024-11-13T15:38:19.667Z","dependency_job_id":null,"html_url":"https://github.com/grachale/PAC_MAN","commit_stats":null,"previous_names":["grachale/pac_man"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/grachale/PAC_MAN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grachale%2FPAC_MAN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grachale%2FPAC_MAN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grachale%2FPAC_MAN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grachale%2FPAC_MAN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grachale","download_url":"https://codeload.github.com/grachale/PAC_MAN/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grachale%2FPAC_MAN/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262477153,"owners_count":23317423,"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":["cpp","pacman-game","polymorphism","sdl2"],"created_at":"2024-11-13T15:24:22.207Z","updated_at":"2025-06-28T18:35:30.631Z","avatar_url":"https://github.com/grachale.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pac-Man \n\n\nI am going to try to pay tribute to the great japanese game designer named Toru Iwatani, who created one of the most\npopular arcade games in the computer world - Pac-Man.\n\n### SPECIFICATION\n\nThe player controls Pac-Man through a blue maze, eating white dots, which are called pellets. When all dots are eaten, \nPac-Man is given points and goes to the next level. Three enemies, which look like colorful ghosts (\"Blinky\" - red one, \"Pinky\" - not difficult to guess the color and \"Clyde\" - orange one).\nThey try to catch Pac-Man, each in their own way (different algorithms of chasing). If an enemy touches Pac-Man, a life is lost and the Pac-Man dies. \nWhen all lives have been lost (the player has 3 lives in total), the game ends.\nNear the corners of the maze are four larger, flashing dots known as power pellets that provide Pac-Man with the temporary ability to eat the enemies. \nThe enemies turn deep blue, reverse  and move more slowly allowing Pac-Man to eat them. When an enemy is eaten, the player is rewarded with 200 points. \nBlue enemies flash white to signal that they are about to become dangerous again.\nThe player can select the difficulty level, which affects on speed of ghosts, intelligence of AI. In the beginning, there is an opportunity for player to download own\nmap ( .txt file with 2d array with 56 columns and 59 rows, where 1 is indicated as wall, 2 - dot (pellet), 3 - portal, 4 - power dots, which allows Pacman to eat ghosts.)\nAt the end of the file you need to have level of difficulty (from 0 to 2), coordinates (x, y) of pacman and three ghosts (in the precise order - Blinky, Pinky, Clyde).\n\n\n###  USAGE OF POLYMORPHISM\n\n![](assets/polymorphism.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrachale%2Fpac_man","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrachale%2Fpac_man","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrachale%2Fpac_man/lists"}