Skip to content

Multiplayer game similar to popular Pocket Soccer written in C++ using SFML library. The game is played using LAN connection between two devices.

Notifications You must be signed in to change notification settings

d1mic/footlan2k17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚽ FootLAN 2k17 ⚽

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.

logo

💻 Getting Started

These instructions will get you a copy of the game up and running on your local machine. This version is mainly tested on Ubuntu.

Prerequisites

What things you need to install the software and how to install them

  1. Install g++
$ sudo apt-get update
$ sudo apt-get install g++
  1. 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.

Install and run the game

How to install and run the game on both computers.

  1. Download the repository
  2. Go to server folder and run
$ make
$ sudo ./server

on one of the computers.

  1. Go to src folder and run
$ make
$ sudo ./main

on both computers.

🎮 Gameplay

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

logo

🔧 Built using

  • SFML - game development library

🎓 Authors

📖 License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Multiplayer game similar to popular Pocket Soccer written in C++ using SFML library. The game is played using LAN connection between two devices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages