Taller de Programación I (Grupo Capcom)
You can use the script that will do all the commands:
$ ./setUp.sh
- install make and cmake
$ sudo apt install make
$ sudo apt install cmake
- install g++
$ sudo apt install g++
- install sdl2
$ sudo apt install libsdl2-dev
- install sdl2-image x
$ sudo apt install libsdl2-image-dev
- install mixer
$ sudo apt install libsdl2-mixer-dev
- compile
$ cmake CmakeLists.txt
$ make
Running server:
$ ./server.sh
Running client:
$ .client.sh
1- The client is set as local by default, if you want to use a different IP you can change it in the shell script "client.sh".
2- You can change the quantity of players from 2 to 4 in the config.json file located on the folder config.
3- As long as the team haves players connected the game will continue and the players that disconnected could return
Use: Arrows to move 1 to change character N to thrown projectile M to grab C to soft punch D for strong punch V for soft kick F for strong kick
0 to mute sound