Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.
/ gsquares Public archive

"Artifical life" project. Uses SFML library for graphics.

License

Notifications You must be signed in to change notification settings

komunre/gsquares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gsquares

"Artifical life" project.

Libraries

  • SFML-2.5.1

How to build

g++ windows

g++ -o gsquares.exe -static-libstdc++ -Wall -L[SFML_lib_dir] -I[SFM_include_dir] src/main.cpp src/headers/bot.cpp src/headers/field.cpp -lsfml-graphics -lsfml-main -lsfml-window -lsfml-system -lwinmm -lgdi32 -lopenal32

gcc linux

gcc -xc++ -lstdc++ -L[SFML_lib_dir] -I[SFML_include_dir] src/main.cpp src/headers/bot.cpp src/headers/field.cpp -lsfml-graphicws -lsfml-window -lsfml-system

cmake

mkdir build

cd build

cmake ..

make all

dll

  • openal32.dll
  • sfml-graphics-2.dll
  • sfml-system-2.dll
  • sfml-window-2.dll

About project

Colors

Green - Alive and peaciful Red - Alive and aggressive Purple - Alive and infected Gray - DEAD Black - Nothing (Exists == false lmao)

Screenshots

Life in general

How i can slow down process?

Run programm with indicating sleep time in milliseconds ( ./gsquares [time_in_milliseconds] Example: ./gsquares 100)

Future updates

  • Support, fixes

About

"Artifical life" project. Uses SFML library for graphics.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published