Skip to content

Instantly share code, notes, and snippets.

@SomeCrazyGuy
SomeCrazyGuy / bash_game
Created Apr 6, 2016
A Platformer game written entirely in bash script without calling any external programs
View bash_game
#!/bin/bash --noprofile
#extra strict flags
set -euo pipefail
#screen buffer
declare -a level
#globals
declare -i lv_w=0 #width of level
@SomeCrazyGuy
SomeCrazyGuy / bash_pager.sh
Created Apr 1, 2016
A pager written entirely using bash 4 builtins, relies on no other system binaries.
View bash_pager.sh
#!/bin/bash --noprofile
# DO ALMOST ANYTHING PUBLIC LICENSE
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this code for any purpose as long as any "Credit"
# lines are not removed.
#Credit: /u/linuxversion
#<your Credit line here, if you want>