Skip to content
/ Zappy Public

Major project at the end of the 2nd year at Epitech

Notifications You must be signed in to change notification settings

tgey/Zappy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme Zappy

CodeFactor

Contributors

Tristan Flatot

Nicolas Rubio

Théo Ferreira

Florian Giroud

Valentin Gabriel

Rating

Screenshot

0. Recommendation

It is recommended to run in this order: the server, the graphical client then the AI.

1. Server

Launching server:

./zappy_server -p port -x width -y height -n name1 name2 ... -c clientsNb -f freq

  • port is the port number
  • width is the width of the world
  • height is the height of the world
  • nameX is the name of the team X
  • clientsNb is the number of authorized clients per team
  • freq is the reciprocal of time unit for execution of actions

2. Graphical Client

Before launching graphical client:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.

Launching graphical client:

./zappy_graphical

Screenshot

Screenshot

Graphical commands:

  • A: Zoom
  • Z: Unzoom
  • Arrows: Move on the map
  • Left click: Focus on tile
  • Right click: Scroll to clicked tile
  • Escape: Go back to previous step
  • Alt + F4: Close graphical window

Screenshot


3. AI

Launching AI:

./zappy_ai -p port -n name -h machine

  • port is the port number
  • name is the name of the team
  • machine is the name of the machine; localhost by default

Network Project (C/C++)

About

Major project at the end of the 2nd year at Epitech

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •