Eat the dots and avoid the ghosts!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Golang is a programming language that is used to build software and is used to develop web applications, one of the advantages of using Golang is that it is a statically typed language and it is easy to write code.
Also handling multi threading is a great feature of Golang and it is very easy to use this wy we decided to create a Pacman game using Golang.
Also pacman is a famous game in the world and it is very easy to play this game but the work of creating a Pacman game is very interesting and challenging since you get to touch a lot of aspects from the language such inpute handling, graphics, multi threading, etc.
This project was pretty simple in terms of technology. The only dependency was the Go language
It's easy to get started with this project, simply follow the steps below and you'll be up and running in no time, the hard part is winning the game!
Please make sure you have the following installed before you start
- Golang
Ubuntu:
sudo apt-get install golang-go
Mac:
brew install golang
Windows:
https://golang.org/dl/
- Visual Studio Code
Ubuntu:
sudo apt-get install code
Mac:
brew cask install visual-studio-code
Windows:
https://code.visualstudio.com/download
Don't worry if this is your first time using Golang this, guide should set everything you need
- Clone the repository and navigate to root directory
git clone git@github.com:S4ND1X/PacmanGo.git
cd PacmanGo
- Install Golang dependencies
make build
- Run the application
go run main.go
- To specify number of enemies specify a integer value in the command line between 1 and 12
go run main.go < 1 - 12 >
- Build and run the application
make run enemies=< 1 -12 >
- Test the application
make test
- Build the application
make build
- Install dependencies
make deps
- Clean previous build
make clean
This is a simple Pacman game, you can use the arrow keys to move the Pacman and the WASD keys to move the ghosts.
If you want to play with more enemies, you set the number of enemies in the command line.
go run main.go < 1 - 12 >
If you die terminal process will be ended and you can start again by running the application again.
go run main.go
If you want to end the game press the esc
key.
We try to keep our architecture simple and focused by dividing our project into logical sections and keeping each section focused on a single task.
Distributed under the MIT License. See LICENSE.txt
for more information.
- Jorge Sanchez Diaz - @S4ND1X - georgesanchez.diazjr@gmail.com
- Jose Luis Aguilar Nucamendi - @JosxLuis - luisaguilarnucamendi@gmail.com
- Agustin Salvador Quintanar De la Mora - @AgusQuintanar - agusquintanar17@gmail.com
Project Link: https://github.com/S4ND1X/PacmanGo
We would like include the following resource that helped us create this project:
- Golang: The programming language that powers the internet.
- Pacgo: A Golang guide to creating a Pacman game.
- Readme Template: An awesome README template to jumpstart your projects!