An open API service indexing awesome lists of open source software.

https://github.com/damianlebiedz/langtons-ant

Implementation of Langton's ant in C++
https://github.com/damianlebiedz/langtons-ant

cmake cpp langtons-ant sfml

Last synced: 3 months ago
JSON representation

Implementation of Langton's ant in C++

Awesome Lists containing this project

README

        

# Langton's ant
Implementation of Langton's ant cellular automaton in C++ using SFML library.
https://en.wikipedia.org/wiki/Langton%27s_ant

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

- [Technologies](#technologies)
- [Installation](#installation)
- [View](#view)
- [Contact](#contact)

## Technologies
- C++17
- CMake v.3.10
- SFML v.2.5

## Installation
Make sure that you have installed:
- MinGW (GCC/G++) compiler compatible with C++17 or later (https://www.mingw-w64.org/getting-started/msys2)
- CMake v.3.10 or later (https://cmake.org/download)
- SFML v.2.5 or later (https://www.sfml-dev.org/download)

Type in Command Prompt:
```bash
git clone https://github.com/damianlebiedz/langtons-ant
cd langtons-ant
mkdir build
cd build
cmake -G "MinGW Makefiles" ..
cmake --build .
langtons-ant.exe
```

## View
![langtons-ant](https://github.com/user-attachments/assets/9b71c99d-df5e-4b80-b68b-0046e1f5defd)

## Contact
Damian Lebiedź |
https://damianlebiedz.github.io