Course: COMS 4444 Programming and Problem Solving (F2019)
Uni: Columbia University
Instructor: Prof. Kenneth Ross
TAs: Vaibhav Darbari, Chengyu Lin
make compile
- Update the make file with participating groups.
make run
OR `make gui
-m or --num_monkeys : number of monkeys.
-g or --num_geese: number of geese.
-f : number of family members.
-p or --players : space separated players.
-t or --simulation_time: time for which the simulation runs.
-s or --seed: seed value for random.
-l or --log : enable logging
-v or --verbose : whether a verbose log should be recorded for the games when logging is enabled.
--gui: enable gui
--fps : fps
init
: return a string which represents family to be displayed(for default return empty string). The avatar PNGs should be added to the statics folder and should be named accprding to convention: avatar_1.png, avatar_2.png, etc.
getCommand
: return the command to ne executed for this round.
get_held_item_type
: get the type of food held by the family member.
get_location
: get the location of family member.
get_location
: get the location of animal.
which_animal
: get the type of animal.
get_max_speed
: get the max speed of the animal.
busy_eating
: check if animal is busy eating something.
time_to_eat_remaining
: time remaining for item in hand to be fully consumed.
is_player_searching
: check if player is busy looking inside the bag.
time_to_finish_search
: get the time remaining in finishing search inside the bag.
get_time_for_item
: get the time remaining for item specified to be fully consumed.
check_availability_item
: check if the specified item is available for consumption.
createMoveCommand
: create a MOVE_TO command by specifying a location within bounds.
createRetrieveCommand
: create a TAKE_OUT command by specifying the type of food to be taken out.