{"id":20400748,"url":"https://github.com/stuffbymax/bash-pac","last_synced_at":"2026-05-08T14:42:49.194Z","repository":{"id":227381246,"uuid":"771282228","full_name":"stuffbymax/bash-pac","owner":"stuffbymax","description":"bash-pac is an \"clone of pacman and snake\" that is writen in bash","archived":false,"fork":false,"pushed_at":"2024-07-21T13:48:13.000Z","size":161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T11:54:03.602Z","etag":null,"topics":["bash","bash-script","bash-scripting","czech","czech-language","english","linux","linux-app","pacman-game","shell","snake-game","textbased"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stuffbymax.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-13T02:23:43.000Z","updated_at":"2024-07-21T13:48:16.000Z","dependencies_parsed_at":"2024-03-13T03:31:31.771Z","dependency_job_id":"b5c669fb-2423-4c36-8d20-c97b0be2aa32","html_url":"https://github.com/stuffbymax/bash-pac","commit_stats":null,"previous_names":["justmaxcz/bash-pac","stuffbymax/bash-pac"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/stuffbymax/bash-pac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuffbymax%2Fbash-pac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuffbymax%2Fbash-pac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuffbymax%2Fbash-pac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuffbymax%2Fbash-pac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuffbymax","download_url":"https://codeload.github.com/stuffbymax/bash-pac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuffbymax%2Fbash-pac/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264043341,"owners_count":23548545,"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":["bash","bash-script","bash-scripting","czech","czech-language","english","linux","linux-app","pacman-game","shell","snake-game","textbased"],"created_at":"2024-11-15T04:45:51.677Z","updated_at":"2026-05-08T14:42:44.156Z","avatar_url":"https://github.com/stuffbymax.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"if the program tells you that scores.txt doesnt exist after you save a score the program will create scores.txt\n------------------------------------------------------------------------------------------------------------------------------------\nknown bugs\n------------------------------\n\nif you do not want to install the bash script click here [https://www.onlinegdb.com/lF2xPYk-W](https://onlinegdb.com/rhTNWw26ee)\n\nold version [https://www.onlinegdb.com/lF2xPYk-W]\n---------------------------------------------------------------------------------------------\nabout the project\n------------------\nwaring this project is not finished\n-----------------------------------------\n\nif you want play better copy of pacman Install\n----------------------------------------\n\n``pacman4console``\n\nGame Instructions\n-------------------\n Player character: (C)\n\n  Avoid the ghost (G) while collecting food (.) to increase your score.\n \n  Controls:\n  ------------------\nA: Move Left\nS: Move Down\nD: Move Right\n\nIn-game shortcuts:\n-------------------------\nQ: Exit full terminal\nCtrl: Exit only the program\nTap: Return to the main menu\nLinux\n-------\n                   \nSet execute permission on your script using the following command:\n``chmod +x script-name-here.sh``\n\nTo run your script, execute it directly:\n``./script-name-here.sh``\n\nAlternatively, you can use either of the following commands:\n``sh script-name-here.sh``\nor\n``bash script-name-here.sh``\n\nfor example\n\n``chmod +x script /home/zdislav/Desktop/bash-pac.sh``\n\n``./home/zdislav/Desktop/bash-pac.sh``\n\n\n\n\nWindows \n--------\n\n(using Windows Subsystem for Linux - WSL):\nOpen Command Prompt and navigate to the folder where the script file is located.\nType the following command and hit Enter:\n\n``bash script-filename.sh``\n \n``bash script-bash-pac.sh``\n\n\n\n\nBSD\n----\nInstall Bash:\n\nBy default, FreeBSD uses the tcsh shell and a POSIX-compatible sh shell.\nIf you want to run Bash scripts, you can install Bash using the following commands:\npkg add bash\n\nor\n``make -C /usr/ports/shells/bash install clean``\n\nAfter installation, you can execute your Bash script by invoking bash\n``./home/zdislav/Desktop/bash-pac.sh``\n\nUse a Universal Shebang:\n\nModify the shebang (the first line of your script) to use a more universally compatible shell location.\nInstead of ``#!/bin/bash, use #!/bin/sh.``\nThen, within your script, you can check where Bash is installed (if it’s even installed) and adjust accordingly.\n\n\n\n\nAndoid\n-------\nTermux:\n\nTermux is a popular terminal emulator available for Android.\nIt provides a comprehensive collection of packages, including BASH and ZSH shells.\nIf you have root access, you can manage files with tools like nnn and edit them using nano, vim, or emacs2.\n\nRunning Scripts:\n\nYou can run shell commands in Android using Termux.\nCreate/download a BASH script (or any script) with a .sh extension.\nUse ``./myscript.sh`` to execute the script directly.\nAlternatively, call BASH in a new shell and feed its commands from a text file using bash myscript.sh\n\nfor example ``./home/zdislav/Desktop/bash-pac.sh``\n\nnot recomended by me (i thing is harder)\n\nAndroid’s Native Shell:\n\nAndroid uses a shell located at /system/bin/sh, which is different from the typical /bin/sh found in most Unix-like systems.\nIf you create a BASH script (with a .sh extension) and try to run it directly using #!/bin/bash, it won’t work because Android doesn’t have a full-fledged BASH interpreter.\nInstead, use ``#!/system/bin/sh`` in your script to make it compatible with Android’s shell.\nKeep in mind that Android is not a GNU/Linux distribution, so not all scripts that work on GNU/Linux will necessarily work on Android1.\n\n\n\n\nmac os\n------\nRun the Script: \n\nyou can run your script by typing:\n``./myscript.sh``\n\nfor example \n\n``./home/zdislav/Desktop/bash-pac.sh``\n\nThe ./ prefix specifies that you want to execute the script in the current directory.\nDouble-Click in Finder:\nSave your bash script with no file extension (e.g., bash_file instead of bash_file.sh).\nAlternatively, right-click the script file, choose “Get Info,” and set “Open with” to Terminal.app.\nNow you can double-click the script in Finder to execute it.\n\nUsing zsh (zshell):\nNote that the default shell on macOS used to be bash, but now it’s zsh (zshell).\nBoth shells work, and you can choose based on your preferences.\nFamiliarize yourself with common shell commands, such as cp for copying files or killall for stopping processes or apps 1234.\n\n\n                   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuffbymax%2Fbash-pac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuffbymax%2Fbash-pac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuffbymax%2Fbash-pac/lists"}