Skip to content

An infection survival simulation written in C. Credit for rules goes to ZIddyKins from fortune.org/g/

License

Notifications You must be signed in to change notification settings

chrismcfee/InfectC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfectC

##Version 1.0

alt text

Epidemic simulator rewritten from Perl to C. The original idea, code, ruleset and gameplay elements were all imagined by Ziddykins

Balance changes provided by ilovecock.

##Screenshots

alt text

alt text

all text

##Play

Draft Commands:

  • -h or --help: print the help
  • -v or --version: print the version information
  • --slow: refresh the screen every 10 days
  • --fast: refresh the screen every 5 days
  • --fastest: refresh the screen every day
  • --steps: refresh step-by-step by pressing n on the keyboard
  • -m or --map: specify the path to a custom map to load it. Incompatible with the following flags.
  • -x and/or -y: specify the dimensions of the map
  • -d, -i, -n,-s, -w: specify the number of doctors, infected, nurses, soldiers and/or wood

The default arguments are X = 79, Y = 20, --fast. If you don't specify the x/y dimensions, 16 doctors, 8 infected, 32 soldiers and 80 nurses are spread randomly on the map and you get 790 wood logs. They scale with the dimensions automatically.

##Dependencies

  • ncurses
  • make

##Installation

  • Run make to get a release build or make DEBUG=1 to get a debug build, which logs to infect.log

##Known issues

  • Counters are broken.
  • AI is terrible for everything.

About

An infection survival simulation written in C. Credit for rules goes to ZIddyKins from fortune.org/g/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published