Skip to content

k-forghani/class-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class of Life

Introduction

This is a program to simply simulate some fundamental biological processes, developed as the midterm project of Advanced Programming (Spring 2023) course at Iran University of Science and Technology. The architecture of the project is based on the project description provided by teaching assistants.

Compilation

On Unix-like operating systems, to compile the project and run the interface, just run run.sh with main argument:

chmod +x run.sh
./run.sh main

Instead of using the interface, you may run the test to debug the project:

./run.sh test

On Windows, to compile the project and run the interface, you can run main.bat. Also just run test.bat to run the test and debug the project.

Note: You can also run these commands to compile the interface of the program:

g++ -c libs/*.cpp
g++ -c classes/*.cpp
g++ -o main main.cpp *.o

Then you can run main to use the interface.

Getting Started

You can read the documentation to find out how to use the program via provided command line interface.

Schema


Figure 1. Modules Schema

Figure 2. Classes Schema

Figure 3. Cell.h & Cell.cpp Schema

Figure 4. Animal.h & Animal.cpp Schema

Figure 5. Interface.h & Interface.cpp Schema

Developers

This project was developed by Kazem Forghani, a student of Computer Science Department of Iran University of Science and Technology, in collaboration with Elaheh Razmkhah.

You can contact via [email protected].

License

This project has been released under MIT License.