Project Structure
Below is a list of all the files you will see in the proj03-Code.zip
.
You only have to make changes to ants.py
to finish the project.
ants
|-ants.py # The game logic of Ants Vs. SomeBees
|-ants_plan.py # The details of each difficulty level
|-gui.py # Web-based GUI for Ants Vs. SomeBees
|-utils.py # Some functions to facilitate the game interface
|-ucb.py # Utility functions from CS 61A
|-static # A directory of images and files used by gui.py
|-templates # A directory of HTML templates used by gui.py
|-libs # Packed runtime libraries used by gui.py
|-ok # The autograder
|-proj03.ok # The ok configuration file
-tests # A directory of tests used by ok
For the functions that we ask you to complete, there may be some initial code that we provide. If you would rather not use that code, feel free to delete it and start from scratch. You may also add new function definitions as you see fit.
However, please do not modify any other functions. Doing so may result in your code failing our framework. Also, please do not change any function signatures (names, argument order, or number of arguments).
Throughout this project, you should be testing the correctness of your code. It is good practice to test often, so that it is easy to isolate any problems. However, you should not be testing too often, to allow yourself time to think through problems.