Game of life implementation using SFML