Skip to content

WhiteHodok/AGPyPacMan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AGPyPacMan - ENG

srdfg

image

AGPyPacMan is a Pac-Man game implemented in Python using the Pygame library.

Dependencies

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

Game Overview

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.

How to Play

  • 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.

Features

  • 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.

Acknowledgments

License

This project is licensed under the MIT License. See the LICENSE file for details.

AGPyPacMan - RUS

srdfg

image

AGPyPacMan - это игра Pac-Man, реализованная на языке Python с использованием библиотеки Pygame.

Зависимости

Для работы AGPyPacMan требуются следующие библиотеки:

  • pygame
  • numpy
  • tcod

Вы можете установить необходимые зависимости, выполнив следующую команду:

# Установка библиотек
pip install -r requirements.txt

Обзор игры

AGPyPacMan - это игра Pac-Man, в которой игрок управляет персонажем Pac-Man и перемещается по лабиринту, чтобы собрать печенье, избегая призраков. Цель игры - собрать все печенье и не попасться призракам. Также доступны бонусы, которые позволяют Пакману временно съедать призраков.

Как играть

  • Используйте клавиши со стрелками, чтобы управлять движением Пакмана.
  • Соберите все печенье в лабиринте, чтобы выиграть игру.
  • Избегайте призраков, так как при их поимке Пакман потеряет жизнь.
  • Можно собирать бонусы, которые временно позволят Пакману съесть призраков.

Особенности

  • Управляемый игроком персонаж Pac-Man.
  • Призраки с различными вариантами поведения: преследование и разбегание.
  • Лабиринт со стенами и печеньем.
  • Мощные бонусы, позволяющие Пакману есть призраков.
  • Система подсчета очков: печенье, бонусы и поедание призраков.
  • Система жизней: У Пакмана есть три жизни.
  • Условие окончания игры: когда Пакман теряет все жизни.
  • Условие победы: когда собрано все печенье.

Acknowledgments

Лицензия

Этот проект лицензирован по лицензии MIT License. Подробности смотрите в файле LICENSE.