PacMan Pygame
1.0.0
This project aims to practice building a Pac-Man style game using Python.
Following packages are required to install the game. Please prepare following packages installed on your machine before the installation. Most recent version is recommended. Tkinter and Pygame can be installed using pip.
As the product is not using any game framework or engine, the installation process is simple copy and paste.
The map generator will read a map file in /resource directory. The file name should be level#.txt or level##.txt, ## refers to the number of the level. The file contains 32×32 characters, each character indicates a block/item in the game field.
_ passage (empty)# wall$ ghost spawn point. pellet@ Pac-Man (starting point)& free ghost% caged ghost############################
#............##............#
#.####.#####.##.#####.####.#
#.####.#####.##.#####.####.#
#.####.#####.##.#####.####.#
#..........................#
#.####.##.########.##.####.#
#.####.##.########.##.####.#
#......##....##....##......#
######.#####_##_#####.######
######.#####_##_#####.######
######.##____&_____##.######
######.##_###_####_##.######
######.##_###_####_##.######
______.___###$####___.______
######.##_###%####_##.######
######.##_########_##.######
######.##__________##.######
######.##_########_##.######
######.##_########_##.######
#............##............#
#.####.#####.##.#####.####.#
#.####.#####.##.#####.####.#
#...##.......@........##...#
###.##.##.########.##.##.###
###.##.##.########.##.##.###
#......##....##....##......#
#.##########.##.##########.#
#.##########.##.##########.#
#..........................#
############################
############################