AGPyPacMan is a Pac-Man game implemented in Python using the Pygame library.
PyPacMan relies on the following libraries:
- pygame
- numpy
- tcod
You can install the required dependencies by running the following command:
# lib install
pip install -r requirements.txt
AGPyPacMan is a Pac-Man game where the player controls the character Pac-Man and navigates through a maze to collect cookies while avoiding ghosts. The objective is to collect all the cookies without being caught by the ghosts. Power-ups are also available that allow Pac-Man to eat the ghosts temporarily.
- Use the arrow keys to control the movement of Pac-Man.
- Collect all the cookies in the maze to win the game.
- Avoid the ghosts, as they will cause Pac-Man to lose a life if caught.
- Power-ups can be collected to temporarily enable Pac-Man to eat the ghosts.
- Player-controlled Pac-Man character.
- Ghosts with different behaviors: chase and scatter.
- Maze with walls and cookies.
- Power-ups that allow Pac-Man to eat ghosts.
- Scoring system: cookies, power-ups, and ghost eating.
- Lives system: Pac-Man has three lives.
- Game over condition: when Pac-Man loses all lives.
- Win condition: when all cookies are collected.
- The Pygame library: https://www.pygame.org/
- The numpy library: https://numpy.org/
- The tcod library: https://python-tcod.readthedocs.io/
This project is licensed under the MIT License. See the LICENSE file for details.
AGPyPacMan - это игра Pac-Man, реализованная на языке Python с использованием библиотеки Pygame.
Для работы AGPyPacMan требуются следующие библиотеки:
- pygame
- numpy
- tcod
Вы можете установить необходимые зависимости, выполнив следующую команду:
# Установка библиотек
pip install -r requirements.txt
AGPyPacMan - это игра Pac-Man, в которой игрок управляет персонажем Pac-Man и перемещается по лабиринту, чтобы собрать печенье, избегая призраков. Цель игры - собрать все печенье и не попасться призракам. Также доступны бонусы, которые позволяют Пакману временно съедать призраков.
- Используйте клавиши со стрелками, чтобы управлять движением Пакмана.
- Соберите все печенье в лабиринте, чтобы выиграть игру.
- Избегайте призраков, так как при их поимке Пакман потеряет жизнь.
- Можно собирать бонусы, которые временно позволят Пакману съесть призраков.
- Управляемый игроком персонаж Pac-Man.
- Призраки с различными вариантами поведения: преследование и разбегание.
- Лабиринт со стенами и печеньем.
- Мощные бонусы, позволяющие Пакману есть призраков.
- Система подсчета очков: печенье, бонусы и поедание призраков.
- Система жизней: У Пакмана есть три жизни.
- Условие окончания игры: когда Пакман теряет все жизни.
- Условие победы: когда собрано все печенье.
- Библиотека Pygame: https://www.pygame.org/
- Библиотека numpy: https://numpy.org/
- Библиотека tcod: https://python-tcod.readthedocs.io/
Этот проект лицензирован по лицензии MIT License. Подробности смотрите в файле LICENSE.