{"id":13436359,"url":"https://github.com/TheMozg/awk-raycaster","last_synced_at":"2025-03-18T21:30:21.704Z","repository":{"id":46695661,"uuid":"49528234","full_name":"TheMozg/awk-raycaster","owner":"TheMozg","description":"Pseudo-3D shooter written completely in gawk using raycasting technique","archived":false,"fork":false,"pushed_at":"2023-01-20T20:26:06.000Z","size":43,"stargazers_count":2426,"open_issues_count":1,"forks_count":72,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-01-29T00:49:42.738Z","etag":null,"topics":["3d","awk","game","raycast"],"latest_commit_sha":null,"homepage":"","language":"Awk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheMozg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-12T20:54:12.000Z","updated_at":"2025-01-27T16:26:01.000Z","dependencies_parsed_at":"2023-02-12T05:00:40.610Z","dependency_job_id":null,"html_url":"https://github.com/TheMozg/awk-raycaster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMozg%2Fawk-raycaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMozg%2Fawk-raycaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMozg%2Fawk-raycaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMozg%2Fawk-raycaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheMozg","download_url":"https://codeload.github.com/TheMozg/awk-raycaster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244310246,"owners_count":20432501,"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":["3d","awk","game","raycast"],"created_at":"2024-07-31T03:00:47.155Z","updated_at":"2025-03-18T21:30:21.699Z","avatar_url":"https://github.com/TheMozg.png","language":"Awk","readme":"# awkaster\nBring some old-school fun to your terminal! Explore the dungeon and shoot monsters in this pseudo-3D game inspired by the classic Wolfenstein 3D and Doom.\n\n![Screenshot](screenshot.png)\n\n# Running the game\n`gawk -f awkaster.awk`\n\nYou need `gawk` version \u003e= `4.0.0`\n\n\nOS X users must install `gawk` first. The easiest way to do this is to use [Homebrew](http://brew.sh/). Once it has been installed, run the following commands:\n```\nbrew update\nbrew install gawk\n```\n\nNetBSD users require `gawk`. The easiest way to do it is install it with [pkgin](http://pkgin.net):\n```\npkgin install gawk\n```\n\nAlternatively install from sources using the [pkgsrc framework](https://pkgsrc.org/):\n```\ncd /usr/pkgsrc/lang/gawk \u0026\u0026 make install\n```\n\n\nOpenBSD users require `gawk`. The easiest way to do it is install it with [pkg_add](http://man.openbsd.org/OpenBSD-current/man1/pkg_add.1):\n```\npkg_add gawk\n```\n\nAlternatively install from sources using the [OpenBSD ports](http://man.openbsd.org/OpenBSD-current/man1/ports.7):\n```\ncd /usr/ports/lang/gawk \u0026\u0026 make install clean\n```\nYour machine will now be ready to run *awkaster*.\n\n# How to play\nYour objective is to navigate the map and activate exit elevator, killing hordes of monsters in the process.\n\nControls:\n* WASD - movement\n* J/L - turn left/right. Hold shift to turn quicker\n* spacebar - shoot\n* num 1-4 - change color mode\n* x - activate elevator (arrives after 1000 moves)\n\n# Adjusting resolution\nBy default game resolution is 64x48 \"pixels\", which are just a pair of ASCII symbols. That means your terminal needs to be at least 128 chars wide. You may change variables `w` and `h` to your liking.\n\n# Game engine\nWall rendering is done using ray casting. Monsters and projectiles are added after that as sprites.\nRay casting is a simple rendering algorithm that doesn't require any 3d modeling or complex computation.\n\nYou can find an excellent tutorial here:\nhttp://lodev.org/cgtutor/raycasting.html\n","funding_links":[],"categories":["Awk","Books","Table of Contents","\u003ca name=\"games\"\u003e\u003c/a\u003eGames"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheMozg%2Fawk-raycaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTheMozg%2Fawk-raycaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheMozg%2Fawk-raycaster/lists"}