Skip to content

FelipeFTN/Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game (with no name)

Game is a simple C++ game built using Raylib. It is a two-players game where the players controls a ball and has the objective to remove the other player from the field.

Table of Contents

  1. Installation
  2. How to Play
  3. Contributing
  4. License

Installation

Plug & Play (Recommended)

To install the game, follow these steps:

  1. Download the latest release of the game from the releases page.
  2. Extract the zip file in your machine.
  3. Run the executable file generated Game.exe or $ ./Game in case you downloaded the Linux or Mac version.
  4. Enjoy!

Building by your own

For this process to work, you will need a few tools, which you may already have, since this method is usually chosen by more advanced players.
Make sure you have GNU Make and GNU Compiler Collection (GCC & G++) installed in your computer.
All checked? Right, let's do it!
Just go over the Game's root directory and do on your terminal:

    ## Building from Makefile
    $ make install && make

As simples as that, you can easily run your game with $ ./bin/Game or sh Game.sh. In case of any error, we highly recommend to export some libs to Path:

    $ export LD_LIBRARY_PATH=./lib/raylib/lib:$LD_LIBRARY_PATH

This should do it! Let us know in case of any error during your execution :)

How to Play

Once you have installed the game, follow these steps to play:

Use the arrow keys to move the player-2 up, down, left, or right.
Use the WASD keys to move the player-1 up, down, left, or right.
Use physics to your advantage.
Take your opponent off the field to win.

Contributing

We welcome contributions to the game! If you would like to contribute, please follow these steps:

Fork the repository to your GitHub account.
Create a new branch for your changes.
Make your changes and commit them to the new branch.
Push the new branch to your forked repository.
Submit a pull request to the main repository.

License

The game is licensed under the MIT License. Feel free to use and modify the game as you wish!