Skip to content

🚢 Epitech project in group. The goal of this project is to maitrise signals (SIGINT, SIGUSR1, SIGUSR2, ...).

Notifications You must be signed in to change notification settings

Twisterrr/PSU_navy_2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navy

Epitech Project, Navy

You all know the very famous Battleship game. Well, I hope so. You must code a terminal version of this game. The two players are ONLY allowed to comunicate using the signals SIGUSER1 and SIGUSER2. The map size is 8x8. On each turn, you must display your positions, and then your enemy’s positions. At the end of the game (when all the ships of a player have been hit), you must display whether “I won” (and return 0) or “Enemy won” (and return 1).

How to use Navy ?

Make
./navy [first_player_pid] navy_positions

Authors

About

🚢 Epitech project in group. The goal of this project is to maitrise signals (SIGINT, SIGUSR1, SIGUSR2, ...).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published