King and Pigs
Description
King and Pigs is a 2D game written in C++. In this game, the player controls a character who must navigate through various levels and defeat enemies.
Table of Contents
- Installation
- Build from source
- How to play
- Documentation
- Credits
- Contact
- License
Installation
To install the game on your computer, follow these steps:
- Go to the releases page of this repository.
- Download the latest release installer that corresponds to your operating system.
- Run the downloaded installer and follow the instructions.
- Once the installation is complete, launch the game from the start menu or desktop icon
Build from source
- Clone this repo:
git clone https://github.com/png261/king-and-pigs.git
- Navigate to the
king-and-pigs
directory, run the following command to build the game:cmake -B build && cmake --build build
- Run the game by executing the following command:
./build/king-and-pigs
How to play
Action | Setup 1 | Setup 2 |
---|---|---|
Move right | Arrow Right | D |
Move left | Arrow Left | A |
Enter door | Arrow Up | W |
Jump | Mouse Left | K |
Attack | Mouse Right | J |
Note: Setup 2 only work with English keyboard
Documentation
Please see https:/
Credits
Contact
If you have any questions or suggestions about this project, feel free to contact me at:
- Email: nhphuong.code@gmail.com
- GitHub: png261
License
This project is licensed under the Unlicense - see the LICENSE file for details