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. ==