Entity simulator for simulated experiments
Program | Function | Required | Download |
---|---|---|---|
SFML | Media Rendering Library | β | πΎ |
Migrate to your desired download location on your local machine using (either) your console or terminal, and download this repository to your system using git clone:
git clone https://github.com/Justin-Byrne/Entity-Simulation.git
Compile project, under (root)/Entity Simulation/
> make
> make clean
> ./Entity-Simulation
> Entity-Simulation
You can toggle and augment various configuration options under config.hpp
// DEBUG
#define DEBUG_ROTATE 0
#define DEBUG_BODY 1
#define DEBUG_SENSE 0
#define DEBUG_SIGHTLINE 0
#define DEBUG_STEPS 1
#define DEBUG_UNIFORM_GRID 0
#define DEBUG_ENTITY_PRINT_ATTRIBUTES 0
// ENTITY ATTRIBUTE CAPS
#define SIZE_CAP 10 // 10
#define SENSE_CAP 40 // 40
#define HEALTH_CAP 20 // 20
#define WALK_SPEED_CAP 20 // 20
#define WALK_DISTANCE_CAP 70 // 70
#define STAMINA_CAP 20 // 20
#define STAMINA_REFACTOR_CAP 10 // 10
// PROGRAM
#define WINDOW_TITLE "Entity Simulation"
#define WINDOW_WIDTH 800
#define WINDOW_HEIGHT 800
#define ENTITY_MAX 200
#define STEP_MAX 25
#define SEEN_MAX ( ENTITY_MAX / 25 )
#define LINE_SEGMENTS 5
#define FRAME_RATE 30
#define CELL_SIZE 50
#define NULL_COLOR colors::null
Please open an issue for support.
. (root)
β
β
βββ Entity Simulation
β β
βΒ Β βββ include/
β β β
βΒ Β β βββ common/
β β β β
βΒ Β β β βββ math/
β β β β β
β β β β βββ math.hpp
β β β β
βΒ Β β β βββ static/
β β β β β
β β β β βββ colors.hpp
β β β β β
β β β β βββ states.hpp
β β β β
βΒ Β β β βββ structs/
β β β β
β β β βββ custom/
β β β β β
β β β β βββ attributes.hpp
β β β β β
β β β β βββ entity.hpp
β β β β
β β β βββ general/
β β β β
β β β βββ angle.hpp
β β β β
β β β βββ cell.hpp
β β β β
β β β βββ color.hpp
β β β β
β β β βββ matrix.hpp
β βΒ Β β β
β β β βββ point.hpp
β β β
β βΒ Β βββ simulation/
β β β β
βΒ Β β β βββ simulation.hpp
β β β
β βΒ Β βββ utilities/
β β β β
βΒ Β β β βββ general/
β β β β β
β β β β βββ display.hpp
β β β β β
β β β β βββ RNG.hpp
β β β β β
β β β β βββ scale.hpp
β β β β β
β β β β βββ uniform_grid.hpp
β β β β
βΒ Β β β βββ renderer/
β β β β β
β β β β βββ SFML_utilities.hpp
β β β β
βΒ Β β β βββ specific/
β β β β
β β β βββ step_colors.hpp
β β β
β β βββ config.hpp
β β β
β β βββ headers.hpp
β β
β βββ libs/
β β β
β β βββ SFML/ (SFML Raw Header Files)
β β
β βββ main.cpp
β βββ Makefile
β
βββ images/ (Media files...)
β
βββ LICENSE
βββ README.md
== Byrne-Systems Β© 2022 - All rights reserved. ==