FootLAN is a multiplayer game similar to popular Pocket Soccer written in C++ programming using SFML library. The game is played using LAN connection between two devices conneted.
These instructions will get you a copy of the game up and running on your local machine. This version is mainly tested on Ubuntu.
What things you need to install the software and how to install them
- Install g++
$ sudo apt-get update
$ sudo apt-get install g++
- Install SFML library
There are three ways to install SFML library:
- Using package manager
$ sudo apt-get install libsfml-dev
- Download the SDK
Download the SDK from the download page, unpack it and copy the files to your preferred location: either a separate path in your personal folder (like /home/me/sfml), or a standard path (like /usr/local).
- Building SFML yourself If you want to go this way, there's a dedicated tutorial on building SFML yourself.
How to install and run the game on both computers.
- Download the repository
- Go to server folder and run
$ make
$ sudo ./server
on one of the computers.
- Go to src folder and run
$ make
$ sudo ./main
on both computers.
When start game is selected both players choose the team that they want to play with. The player that chooses first , plays first. Both players simutaniously try to kick the ball into opponnents net. Player kicks the ball by selecting his own player and pulling him in the opposite direction of where he wants to move the player.
- Select: space
- Exit the game: Escape
- Go back: Backspace
- Movement: Mouse
- SFML - game development library
This project is licensed under the MIT License - see the LICENSE.md file for details