Skip to content

About

The Rust implementation of pacman4console (just for fun)

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

pacman4console in Rust

This repository is a Rust implementation of the pacman4console game originally written in C. The original project can be found at: pacman4console.

Running the Game:

>> Running using System Binaries

  • Download the latest version of binary based on your system Download (aarch64 for ARM based processor and x86_64 for AMD based processors)
  • Unzip the file
  • Go to the release directory
  • Open Terminal (PowerShell or CMD if you are Windows user)
  • Run the app with the below format:
./pacman <level number>

Note

For example, to play level 9: ./pacman 9

>> Runing using Docker

  • Pull the image docker pull ghcr.io/arsalanyavari/pacman4console:latest
  • Run container and get Bash from the container
  • Run the app with the below format:
./pacman <level number>

Note

For example, to play level 9: ./pacman 9

>> Running or Building from the Source:

Debug Mode

To run the game in debug mode, use the following command:

cargo run -- <level number>

Note

For example, to play level 9: cargo run -- 9

Build and Run in Release Mode

To build the game in release mode, run:

cargo build --release

Then, navigate to the release directory and run the game:

cd ./target/release
./pacman <level number>

Note

For example, to play level 9: ./pacman 9

Warning

The Levels/ directory that exists in the debug/ or release/ directory must be placed beside the pacman executable when running the game. Ensure the level files are correctly positioned, or the game may not function as expected.

Note

AI Assistance

I used GPT chat assistance in parts of this project, and parts of this project were developed by AI.

About

The Rust implementation of pacman4console (just for fun)

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages