Cloned Games

pacman.c

ActivePlayableWebWindowsLinuxOSX

Based on Pac-Man

pacman.c screenshotLinks, repository & details

About

Pac-Man is Namco's 1980 arcade maze game, released in Japan as Puck Man, in which the player eats dots in a maze while avoiding four ghosts. pacman.c is a Pac-Man clone written in C99 with minimal dependencies, running on Windows, macOS, Linux and the web via WebAssembly. The source is structured so it can be read from top to bottom, with implementation details documented in comments.

Getting started

A WebAssembly version can be played in the browser on the project's homepage. For a native build, clone the repo and build with CMake; Linux needs the OpenGL, X11 and ALSA development packages, and nix users can run it directly with nix run.

Additional notes

Related project
The same author maintains a Zig version of the game, pacman.zig.
Share:

More like pacman.c

Sporadic
Pacman 吃豆游戏 screenshot
A browser Pac-Man game by passer-by.com with 12 levels, power pellets and ghosts that path-find to the player.
Platforms:Web
Stars1,643
Updated6 months ago
LicenseMIT
Release2015
Sporadic
Pac Go screenshot
A terminal Pac-Man clone in Go that uses emojis, built as a step-by-step tutorial for learning the language.
Platforms:WindowsLinuxOSX
Stars1,219
Updated11 months ago
LicenseMIT
Release2018
Halted
Original game (original game, not this project)Original game image
Platforms:Web
Stars731
Updated3 years ago
LicenseWTFPL
Release2010
Active
Seed7 screenshot
An open-source programming language whose example programs include recreations of classic games like Pac-Man and Tetris.
Platforms:Windows
Stars461
Updated1 month ago
LicenseGPL-2.0
Release2020
Sporadic
pacman-canvas screenshot
An HTML5 Pac-Man remake playable in the browser, with scatter/chase ghost modes and online highscores.
Platforms:Web
Stars352
Updated8 months ago
LicenseCC0-1.0
Release2012
Halted
EnTT Pacman screenshot
A Pac-Man clone built as a tutorial example for the EnTT entity-component-system framework, using SDL2 and CMake.
Platforms:WindowsLinuxOSX
Stars313
Updated2 years ago
LicenseMIT
Release2018