Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.27 KB

ncursed-tanks

ncursed-tanks is a net-based multiplayer game written in C using ncurses interface. This solution gives a user capability to run it on all *nix platforms.

Usage

> ./config_menu
## run config creator/modifier in user-friendly mode
## config is saved in "server.conf", which is read by the server

> ./client SERVER_IP NICKNAME
## run game's client and connect it to the server specified by SERVER_IP, using NICKNAME

> ./server
## run the server which hosts the game, parameters are specified in "server.conf"

Gameplay

Gameplay is explained in doc/game.

Demo

ncursed-tanks GIF demo

Dependencies

  • make - Build management tool
  • ncurses - Free software emulation of curses
  • system support for POSIX
  • doxygen (optional) - Standard tool for generating documentation

Build

  • run make to build the whole project
    • if your platform doesn't have getopt_long, run CFLAGS="-DPLATFORM_NO_GETOPT_LONG" make instead
  • run make clean to remove build files
  • run make doc to generate documentation