Remake of the retro game: Felix Fix It, with the ability to create rooms dynamically in order to play with another person via HTTPS.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ImagenesSDL
.gitignore
Cliente
Partida
README.md
Torneo
cliente.c
config.cfg
configServer.cfg
makefile
menuPrincipal.c
menuPrincipal.h
partida.c
torneo.c

README.md

Felix Fix It Multiplayer

Remake of the retro game: Felix Fix It, with the ability to create rooms dinamically in order to play with another person via HTTPS. Written in C language and using SDL to render the graphics.

Screenshot in Game

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Client and server will only run on Linux systems (maybe Mac too, but it hasn't been tested). In order to be able to execute we need to download some packages from apt-get install:

sudo apt-get install libsdl2.0-dev libsdl-image2.0-dev libsdl-ttf2.0-dev

Installing

After installing all the packages from above, we're ready to compile our .c files just by running:

make

This process will result in three new files inside the root folder:

  • Torneo: server process to allow users to join to waiting rooms and play.
  • Partida (CAN'T BE MANNUALLY RUN): match process - The server will create one of this when two players are ready to play.
  • Cliente: client process that allow players to join rooms, change nickname and configuration.

If you want to rebuild the files, first you need to remove the compiled ones. The following command will wipe them for you!

makeclean

Torneo(Server) description

Command to start the server:

./Torneo

This will bring a dashboard with the description of current matches and players connected:

Server Dashboard

The server will be alive until someone stop manually the process, otherwise it wouldn't close at any time.

Cliente (Client) description

Starting the client:

./Cliente

The first screen you will see is the main Menu: //PASTE IMAGE OF MENU

The first option will connect us to the server and join a waiting room for another player. The second one allows us to change:

  • The configuration of the server to connect with.
  • The keys to move the player and fix the windows.
  • Our nickname inside the game and server.

After two players join the waiting room, the server will create a match and there they can start playing:

Client Screens

The match will continue until both players are dead. Meanwhile the server is storing all the points of the match, so if one person play more than one game he will gain all the points of the matches.

After the match is over, both player will enter in the waiting room (again) and the server will choose different players to play with (if it's possible).

Built With

Authors

License

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