I have a program from my school where I have to code my AI to efficiently do things.
Send me your email and also you need Linux or any OS that can use the ncurses library.
I need your email so I can give you the zipped folder that contains all the code.
THIS IS THE DESCRIPTION OF HOW THE GAME WORKS!
YOU WILL ONLY BE EDITTING THE ONACTION FUNCTION IN bot.cpp FILE
How to run the program?
1. Download Linux (Ubuntu).
2. install the ncurses library using Terminal.
3. Unzip the files in dwarves and put it into a SPECIFIC library.
4. In Terminal, go to the file directory.
If the folder that contains the cpp files of dwarves is in the "Desktop" directory.
do this
cd Desktop
cd [folder name]
5. To run the game, you should be in the directory of dwarves.
do this to run
make
./dwarves c [ROWS] [COLS]
ROWS and COLS in the range of 25-35
How the game works.
The game keeps running until day 7.
The game have day and night times.
6:00 to 21:00 is day time
21:00 to 24:00 and 0:00 to 6:00 is night time
During the night Zombies spawn and it will chase your dwarves and kill them.
What are your goals?
1. Make a efficient program for your dwarves to SURVIVE ALL 7 DAYS.
2. and build THE BIGGEST CONTIGUOUS STRUCTURE.
3. and COLLECT A LOT OF APPLES.
4. and COLLECT A LOT OF PUMPKINS.
My score: (./dwarves c 35 35) variant
Apples 5000+
Largest Structure 105
Pumpkins 40
My address, in reverse, is moc tod izzobm ta bjm.
You should look into some kind of file-hosting service (Github or Gitlab?) so that folks don't need to post their own mail address here.