{"id":13439131,"url":"https://github.com/libtcod/libtcod","last_synced_at":"2025-05-14T11:08:49.341Z","repository":{"id":37783908,"uuid":"70093479","full_name":"libtcod/libtcod","owner":"libtcod","description":"A collection of tools and algorithms for developing traditional roguelikes.  Such as field-of-view, pathfinding, and a tile-based terminal emulator.","archived":false,"fork":false,"pushed_at":"2025-04-30T05:05:57.000Z","size":41429,"stargazers_count":1057,"open_issues_count":27,"forks_count":63,"subscribers_count":29,"default_branch":"main","last_synced_at":"2025-05-13T08:04:11.793Z","etag":null,"topics":["c-library","c99","cpp","cpp-library","field-of-view","fov-algorithms","libtcod","noise-generator","pathfinding","pathfinding-algorithms","roguelike-library","roguelikedev"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libtcod.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"HexDecimal"}},"created_at":"2016-10-05T19:45:34.000Z","updated_at":"2025-05-13T06:57:43.000Z","dependencies_parsed_at":"2023-02-09T17:47:39.538Z","dependency_job_id":"6eaebbf1-174d-49e3-9818-d8e6e354a3ed","html_url":"https://github.com/libtcod/libtcod","commit_stats":{"total_commits":1886,"total_committers":50,"mean_commits":37.72,"dds":"0.25450689289501593","last_synced_commit":"7f9ebdd477f05f3caf166b1b32a4405099ec9926"},"previous_names":[],"tags_count":86,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtcod%2Flibtcod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtcod%2Flibtcod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtcod%2Flibtcod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtcod%2Flibtcod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libtcod","download_url":"https://codeload.github.com/libtcod/libtcod/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129481,"owners_count":22019628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-library","c99","cpp","cpp-library","field-of-view","fov-algorithms","libtcod","noise-generator","pathfinding","pathfinding-algorithms","roguelike-library","roguelikedev"],"created_at":"2024-07-31T03:01:11.403Z","updated_at":"2025-05-14T11:08:49.285Z","avatar_url":"https://github.com/libtcod.png","language":"C","readme":"# Introduction\n\nlibtcod is a free, fast, portable and uncomplicated API for roguelike developers providing a true color console, pathfinding, field-of-view, and a few other utilities frequently used in roguelikes.\n\n## Status\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/libtcod/libtcod/builds.yml)](https://github.com/libtcod/libtcod/actions)\n[![Documentation Status](https://readthedocs.org/projects/libtcod/badge/?version=latest)](https://libtcod.readthedocs.io/en/latest/?badge=latest)\n[![codecov](https://codecov.io/gh/libtcod/libtcod/branch/main/graph/badge.svg?token=pmHy3jXemj)](https://codecov.io/gh/libtcod/libtcod)\n[![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/libtcod/libtcod/latest)](https://github.com/libtcod/libtcod/blob/main/CHANGELOG.md)\n[![Packaging status](https://repology.org/badge/tiny-repos/libtcod.svg)](https://repology.org/project/libtcod/versions)\n\n# How do I get set up?\n\n## Using Vcpkg\n\nThis is the easiest way to get the latest stable version of libtcod for any project.\n\nLibtcod is included as a port in [Vcpkg](https://github.com/microsoft/vcpkg).\nYou can install libtcod via Vcpkg and then link the library using a [CMake](https://cmake.org/) script as you normally do for that package manager.\n\n## As a submodule\n\nThis is the best option for testing the development versions of libtcod.\n\nYou can include libtcod in a project by adding the libtcod repository as a [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) and then adding that directory to a [CMake](https://cmake.org/) script.\nYou will want to fork [this template project](https://github.com/HexDecimal/libtcod-vcpkg-template) if you plan on starting a project with this setup.\n\nIt is expected that Vcpkg will be used, but libtcod's CMake script can be configured to compile without using Vcpkg for dependencies.\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for details on configuring dependencies.\n\n## Using one of our downloads\n\nThis is not recommend as these releases are unwieldy, are more difficult to update, and are less cross-platform.\n*Do not upload binary files to your projects source repository.*\n\nIf you are programming in C or C++ then\nWindows and MacOS binaries are available from the\n[GitHub Releases page](https://github.com/libtcod/libtcod/releases).\n\nVarious C/C++ sample projects are included within\nthe repository which can be used as examples of various features.\n\nKeep in mind that as a C++ library, you may need to distribute the\nappropriate runtime with your program such as the\n[Visual Studio 2015 runtimes](https://www.microsoft.com/en-us/download/details.aspx?id=53587)\nor else the program will fail to run.\n\nFor those who wish to program in Python you can install python-tcod using\n[this installation guide](https://python-tcod.readthedocs.io/en/latest/installation.html).\nOnce installed you can follow\n[the Python 3 tutorial](http://rogueliketutorials.com/)\nor you can find Python example scripts on the\n[python-tcod repository](https://github.com/libtcod/python-tcod).\n\nA alternative version of the Python library (libtcodpy) exists in the binary\ndownloads, but you should avoid using this version as it is not as well\nmaintained.\n\n## Compiling from source\n\nThis is only recommended for libtcod developers.\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n# Getting Started\n\nThe latest documentation is [here](https://libtcod.readthedocs.io/en/latest).\nCurrently it's very incomplete, so most people will want to read the\n[1.6.4 documentation](https://libtcod.github.io/docs/index2.html?c=true\u0026cpp=true\u0026cs=false\u0026py=false\u0026lua=false)\ninstead.\nPython users should use the\n[python-tcod documentation](http://python-tcod.readthedocs.io).\n\nlibtcod comes with a sample application, implementations of which are provided\nin each of\nC ([samples_c.c](https://github.com/libtcod/libtcod/blob/master/samples/samples_c.c)),\nC++ ([samples_cpp.cpp](https://github.com/libtcod/libtcod/blob/master/samples/samples_cpp.cpp)),\nand Python ([samples_py.py](https://github.com/libtcod/python-tcod/blob/master/examples/samples_tcod.py)).\nThis provides a decent overview of the basic features, in an interactive\nfashion.\nEach should be identical for the most part, so if you are using Windows,\ndownloading the pre-compiled binaries and running the included `samples.exe`\nwhich is compiled from the C source code, should be representative of the other\nversions.\n\n# Contact / Community\n\nFor reporting bugs or requesting features you should use the [GitHub Issues page](https://github.com/libtcod/libtcod/issues).\nFor smaller questions or help with a tutorial or project you can join ``#libtcod`` on the [Roguelikes Discord](https://discord.gg/jEgZtqB) or on the [Libera.​Chat](https://libera.chat/) IRC.\n\n# Sponsors\n\n[Sponsors donating $25 or more per month](https://github.com/sponsors/HexDecimal) will have their names or logos listed here.\n\n* [q00u](https://github.com/q00u)\n* [amaya30](https://github.com/amaya30)\n","funding_links":["https://github.com/sponsors/HexDecimal"],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibtcod%2Flibtcod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibtcod%2Flibtcod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibtcod%2Flibtcod/lists"}