{"id":19693057,"url":"https://github.com/christs8920/pacman-cpp","last_synced_at":"2025-06-19T01:40:14.191Z","repository":{"id":156417657,"uuid":"630936663","full_name":"ChrisTs8920/Pacman-Cpp","owner":"ChrisTs8920","description":"A pacman style game made in C++ using the PDcurses library.","archived":false,"fork":false,"pushed_at":"2024-08-03T10:01:00.000Z","size":189,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T11:58:33.330Z","etag":null,"topics":["cli","command-line","cpp","game","game-development","gamedev","ncurses","pacman-game","pdcurses"],"latest_commit_sha":null,"homepage":"","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/ChrisTs8920.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":"2023-04-21T14:00:49.000Z","updated_at":"2024-08-03T10:01:03.000Z","dependencies_parsed_at":"2024-04-23T22:28:38.438Z","dependency_job_id":"b6c3af20-ba5d-4dd7-999d-9b5203ec0122","html_url":"https://github.com/ChrisTs8920/Pacman-Cpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChrisTs8920/Pacman-Cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FPacman-Cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FPacman-Cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FPacman-Cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FPacman-Cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChrisTs8920","download_url":"https://codeload.github.com/ChrisTs8920/Pacman-Cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChrisTs8920%2FPacman-Cpp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260665355,"owners_count":23044277,"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":["cli","command-line","cpp","game","game-development","gamedev","ncurses","pacman-game","pdcurses"],"created_at":"2024-11-11T19:15:36.633Z","updated_at":"2025-06-19T01:40:09.141Z","avatar_url":"https://github.com/ChrisTs8920.png","language":"C++","readme":"# Pacman - C++ and PDcurses\n\n## Description\n\nThis project is a pacman style game made using C++ and the PDcurses library. It includes the player 'P', and 2 monsters, Traal 'T' and Gnome 'G'. The goal of the player is to find the parchment while the monsters chase him. The monsters use the BFS (Breadth-First Search) algorithm to track the player's position.\n\n\u003e*This game was made during my C++ course in University.*\n\n## How to Run\n\n1. Compile using: ```g++ *.cpp -o main.exe -lpdcurses```\n2. Run using: ```./main.exe```\n\n\u003emain.exe requires map.txt and HiScore.dat files in same directory.\n\n## How to Play\n\n1. Use arrow keys to move, spacebar to skip turn (if using turn based movement).\n2. - The player 'P' needs to collect 10 jewels 'J' scattered around the map.\n   - Once the player collects all jewels, a parchment 'M' spawns on the map.\n   - If the player collects the parchment, he wins.\n   - If the monsters 'G' and 'T' catch the player, the game is over.\n\n\u003e*Scores are kept in the HiScore.dat file.*\n\n## Screenshots\n\n### Game\n\n![Game](https://github.com/ChrisTs8920/Pacman-Cpp/blob/main/screenshots/Screenshot_1.jpg?raw=true)\n\n### Main Menu\n\n![Main Menu](https://github.com/ChrisTs8920/Pacman-Cpp/blob/main/screenshots/Screenshot_2.jpg?raw=true)\n\n### High Scores\n\n![High Scores](https://github.com/ChrisTs8920/Pacman-Cpp/blob/main/screenshots/Screenshot_3.jpg?raw=true)\n\n### Difficulty selection\n\n![Difficulty](https://github.com/ChrisTs8920/Pacman-Cpp/blob/main/screenshots/Screenshot_4.jpg?raw=true)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrists8920%2Fpacman-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrists8920%2Fpacman-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrists8920%2Fpacman-cpp/lists"}