https://github.com/enginkaratas/pacman-eats-questions-game
web game project - js, p5, mongodb
https://github.com/enginkaratas/pacman-eats-questions-game
game javascript multiplayer nodejs p5 pacman-game
Last synced: about 2 months ago
JSON representation
web game project - js, p5, mongodb
- Host: GitHub
- URL: https://github.com/enginkaratas/pacman-eats-questions-game
- Owner: EnginKARATAS
- Created: 2020-12-22T13:36:53.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T00:50:48.000Z (about 1 year ago)
- Last Synced: 2025-04-09T06:41:35.012Z (8 months ago)
- Topics: game, javascript, multiplayer, nodejs, p5, pacman-game
- Language: JavaScript
- Homepage: https://pacman-eats-questions-p5js.herokuapp.com/
- Size: 13.4 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pacman Eats Questions
## Overview
Pacman Eats Questions is an interactive web game that combines the classic Pacman gameplay with a fun quiz format. Players navigate through a maze, answering questions and collecting points. The game is designed to be engaging and educational, making it perfect for multiplayer sessions.
https://github.com/user-attachments/assets/66b0ba04-c303-4a98-8bf2-b6702f08d31c
## Features
- **Interactive Gameplay**: Use arrow keys or on-screen buttons to control Pacman.
- **Custom Questions**: Players can add their own questions and answers to the game.
- **Multiplayer Support**: Play with friends in real-time using Socket.io.
- **Dynamic Scoring**: Earn points for correct answers and lose points for incorrect ones.
- **Live Demo**: Experience the game in action through our deployed version.
## How to Play
1. **Control Pacman**: Use the arrow keys (⬅ ➡ ⬆ ⬇) on your computer or tap the buttons on your mobile device to navigate.
2. **Answer Questions**: As you move, you will encounter questions. Choose the correct answer to score points.
3. **Add Questions**: Players can add their own questions through the dashboard.
## Installation
To run the game locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/EnginKARATAS/pacman-eats-questions-p5.git
cd pacman-eats-questions-p5
```
2. Install the dependencies:
```bash
npm install
```
3. Create a `.env` file in the root directory and add your MongoDB connection string:
```
YOURPASSWORDVARIABLE=your_password_here
```
4. Start the server:
```bash
npm run start
```
5. Open your browser and navigate to `http://localhost:8081`.
## Live Demo
- [Deployed Heroku Version](https://pacman-eats-questions-p5js.herokuapp.com/)
- [Old Version](https://enginkaratas.github.io/pacman-p5/)
## Screenshots


## Contributing
Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.
## License
This project is licensed under the ISC License. See the LICENSE file for details.
## Author
Engin Karataş