Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tzvetkoff/bashman
Pacman & Ghosts drawn in Bash!
https://github.com/tzvetkoff/bashman
Last synced: 17 days ago
JSON representation
Pacman & Ghosts drawn in Bash!
- Host: GitHub
- URL: https://github.com/tzvetkoff/bashman
- Owner: tzvetkoff
- Created: 2015-10-16T13:18:20.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T05:31:51.000Z (almost 4 years ago)
- Last Synced: 2024-08-01T02:33:08.291Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 11
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bashman - Pacman & Ghosts drawn in Bash!
![bashman.png](http://i.imgur.com/TabbRBO.png)
## Structure
`/plain/`: plain-text pacman and ghosts.
`/term/`: terminal versions with escape sequences, substituting `@` for color.
`/build/`: amalgamated script.
`/build.sh`: the build script.
## Usage
``` bash
source ./build/bashman.sh# Initialize the 6 lines
bashman_init# Append Pacman
bashman_append pacman-right# Append original ghosts
bashman_append blinky
bashman_append pinky
bashman_append inky
bashman_append clyde# Append a custom ghost
#
bashman_append ghost-left 90
bashman_print# Cleanup
bashman_unset
```## Original ghosts
| Color | Name |
| ------------- | --------------------- |
| Red | Blinky |
| Pink | Pinky |
| Cyan | Inky |
| Orange | Clyde |## Extra ghosts
| Color | Name |
| ------------- | --------------------- |
| Yellow | Kinky |
| Green | Funky |
| Light Gray | Spunky |
| Dark Gray | Spooky |## Block characters
| Character | Description |
| ------------- | --------------------- |
| █ | Full block |
| ▄ | Lower half |
| ▀ | Upper half |