This project is a containerized version of the classic Pac-Man arcade game. It features a persistent scoreboard powered by Google Firebase Firestore and is designed to be fully desktop and mobile friendly.
server.js)You must have the following installed:
Create a Firebase Project: Set up a new project in the Google Firebase Console.
Enable Firestore: Initialize the Firestore Database for your project.
Get Configuration: Retrieve your Firebase configuration object (API Key, Project ID, etc.).
Update .env: Create a .env file in the root of the project to hold your configuration:
# Example .env file
FIREBASE_API_KEY="AIzaSy..."
FIREBASE_PROJECT_ID="your-project-id"
# ... add other Firebase configuration fields
PORT=3010
(Note: This file should be excluded by your .gitignore for security)
Build the Docker Image:
docker build -t pacman .
Run the Container:
docker run -d --name pacman -p 3010:3010 pacman
The game will be accessible in your web browser at http://localhost:3010.
This image is available publicly on Docker Hub under the deewhy namespace:
docker pull deewhy/pacman:latest
Content type
Image
Digest
sha256:dcfc0fd0a…
Size
115.5 MB
Last updated
about 1 year ago
docker pull deewhy/pacman