Skip to content

DevFalconsz/Virus-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Viral Simulation Project - Virus Simulator 1.0

Project Description:

The "Virus Simulator 1.0" is an interactive program designed to simulate the viral multiplication of different transmissible viruses. Upon initiation, the program presents a prompt that allows users to choose one of the listed viruses to begin the simulation. Subsequently, the screen displays a graphical and informative representation showcasing the viral multiplication day by day.

Usage Instructions:

  1. Run the program shortcut, named "VirusSimulator."
  2. Choose one of the listed transmissible viruses.
  3. Observe the simulation, detailing viral multiplication day by day.

Important Notices:

It is crucial to emphasize that the calculations made to estimate viral multiplication rates are approximations and are based on averages and ideal conditions. Viral replication in an organism is a complex and dynamic process involving intricate interactions between the virus, host cells, and the surrounding environment.

The estimates consider average replication cycles and an assumption of continuous replication, which may not fully reflect reality. Specific host conditions, the environment, and other factors can significantly influence the dynamics of viral replication.

Additionally, the host's immune response, the use of antiviral treatments, and other variables were not fully considered in the estimates. The immune response, for example, can modulate viral replication and impact the production of new viral particles.

Therefore, the presented viral multiplication rates are simplifications aimed at providing a general understanding of the replication potential for each virus. Reality is much more complex, and variability among different hosts and specific conditions can substantially alter these results.

Technical Specifications:

  • Language: C++
  • Graphics Library: SFML (Simple and Fast Multimedia Library) or SDL2 (Simple DirectMedia Layer)

Creation Process:

The "Virus Simulator 1.0" was initially developed using C++ with the SFML library, taking advantage of its features for graphics rendering within a Windows environment. The development process included the design of an interactive interface, allowing users to select and observe the viral simulation. The program's logic incorporated calculations for viral multiplication rates, presenting a visual representation of the simulation dynamics. The project aimed to strike a balance between simplicity and accuracy, considering the intricate nature of real-world viral replication.

However, after the initial completion of version 1.0, the decision was made to transition to the SDL2 library. This change was prompted by challenges encountered in ensuring the proper functioning of the main executable file on different machines. The shift to SDL2 provided a more robust solution, addressing the issues and enhancing the portability of the application. This adjustment reflects the project's commitment to optimizing performance and compatibility, ultimately delivering a seamless and efficient user experience in the updated version.

Images:

Prompt

SFML (Graphics):

Graphics

SDL2 (Graphics):

Graphics

To access the source code and contribute, visit the GitHub repository.

About

A Simulator for Viruses.

Resources

License

Stars

Watchers

Forks

Packages

No packages published