{"id":16219887,"url":"https://github.com/rbergen/r136","last_synced_at":"2025-03-19T11:30:43.617Z","repository":{"id":53621784,"uuid":"328366165","full_name":"rbergen/R136","owner":"rbergen","description":"(Originially DOS-based) text adventure a school friend and I created in 1998.","archived":false,"fork":false,"pushed_at":"2025-03-02T12:06:38.000Z","size":751,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T06:35:38.440Z","etag":null,"topics":["borland-cpp","c","cmake","cpp","game","ncurses","pdcurses","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rbergen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-01-10T11:24:45.000Z","updated_at":"2025-03-02T12:06:42.000Z","dependencies_parsed_at":"2024-08-05T20:07:47.745Z","dependency_job_id":"b2a0306e-8ccd-438b-8100-02038c685a91","html_url":"https://github.com/rbergen/R136","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2FR136","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2FR136/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2FR136/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbergen%2FR136/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbergen","download_url":"https://codeload.github.com/rbergen/R136/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244416864,"owners_count":20449352,"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":["borland-cpp","c","cmake","cpp","game","ncurses","pdcurses","visual-studio"],"created_at":"2024-10-10T11:56:23.244Z","updated_at":"2025-03-19T11:30:43.604Z","avatar_url":"https://github.com/rbergen.png","language":"C++","readme":"# R136\n\n[![CMake](https://github.com/rbergen/R136/actions/workflows/cmake.yml/badge.svg)](https://github.com/rbergen/R136/actions/workflows/cmake.yml)\n[![MSBuild](https://github.com/rbergen/R136/actions/workflows/msbuild.yml/badge.svg)](https://github.com/rbergen/R136/actions/workflows/msbuild.yml)\n\nThis is a text adventure a friend and I created all the way back in 1998.\n\nAfter initially developing the game in what must have been QuickBASIC, it seems that I ported it to the C language I was just getting comfortable with at the time.\n\nThe C version of the game was developed for MS-DOS using the Borland C++ IDE, including the proprietary functions it provided. This repository holds a Windows console conversion\nof that version, developed in Visual Studio 2019 Community Edition. You will need to install the \"Desktop development with C++\" workload to be able to build it. The original 1998 BASIC and C sources are included in the repo for the purposes of preserving history and general entertainment.\n\nWith the original DOS console long gone, I've refactored the game to use [ncurses](https://invisible-island.net/ncurses/announce.html) on \\*nix-like systems, and [PDCurses](https://pdcurses.org/) on Windows. This enables some basic console manipulation, whilst not resorting to Windows-specific console functions. (Originally I used my own [PDCurses-sources-turned-Visual-Studio-project](https://github.com/rbergen/PDCurses) version of PDCurses, but I have since then switched to the PDCurses package supplied by the excellent [vcpkg tool](https://github.com/microsoft/vcpkg).)\n\nAfter that, for non-Windows platforms, I've added a CMake build configuration. With this, R136 has been verified to build and run on at least:\n\n* Windows using Visual Studio 2019, both as a VC++ solution and using CMake\n* Windows with MSYS2/MinGW64 using GCC and PDCurses\n* Windows with MSYS2/MinGW64 using GCC and ncurses\n* WSL (Ubuntu) using GCC and ncurses\n* MacOS using (MacOS native) Clang and ncurses\n\nThe game was originally only available in the Dutch language, but has now been translated to English as a second language. The source code itself is now fully in English, also. I guess international awareness \u0026 orientation took a couple of decades to develop in me, but here we are. (Note: getting R136 to start in English requires the `-e` command line argument to be passed to it; Dutch is still the default.)\n\n## Credits\n\n* Peter Wouda - co-creator, primary game designer and idea fountain extraordinaire. Since then, Peter became the creator of the physical board game [Skipp](https://www.skipp.game/en)\n* Machiel Keizer - tester\n\n## Building\n\nDue to the fact that a CMake build configuration is included, you should be able to build R136 from source code on all systems that have installed:\n\n* CMake version of 3.15 or newer\n* a C/C++ build toolchain that is supported by CMake (which includes all \"common\" ones)\n* a version of (n/PD)curses with wide-character support\n\nOn Windows, I recommend using the PDCurses version provided by vcpkg. Installation instructions for vcpkg can be found [on Microsoft's website](https://docs.microsoft.com/en-us/cpp/build/vcpkg).\n\n## Other versions of R136\n\nAlso available are:\n\n* A version of R136 developed in C#.NET, that includes both a console and a WebAssembly in-browser web application version. You can find that in the [R136.NET](https://github.com/rbergen/R136.NET) repository.\n* An _updated_ version of the original 1998 procedural C++ version that requires Borland C++ 5.02 to build, and using that can be compiled to work on the original Intel 8086 CPU. That can be found in the [R136-8086](https://github.com/rbergen/R136-8086) repo.\n* A port of the procedural C++ version to K\u0026R C, as available on 2.11BSD, as it runs on the PDP-11. Somewhat predictably, it can be found in the [R136-PDP11](https://github.com/rbergen/R136-PDP11) repo.\n\n_- Rutger van Bergen - [github.com/rbergen](https://github.com/rbergen)_\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbergen%2Fr136","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbergen%2Fr136","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbergen%2Fr136/lists"}