vaniacer / piu-piu-SH

This is an Old School horizontal scroller 'Shoot Them All' game in bash. With multiplayer modes team and duel. You have to defeat 100 aliens to fight with Boss. I'm using netcat for client-server exchange in multiplayer mode. So netcat have to be installed on system if you wish to play with friend. Terminals on both hosts have to be with equal dimensions.
MIT License
736 stars 36 forks source link

Can't play (keyboard keys are not responsive in the game) #9

Closed frenchbread closed 6 years ago

frenchbread commented 7 years ago

Pressing keyboard keys does not lead to anything (game freezes after startup).

Screenshot:

screen shot 2017-09-17 at 15 31 23

I'm using iTerm with oh-my-zsh

vaniacer commented 6 years ago

I'm afraid it's not supported.

Self-Perfection commented 6 years ago

@frenchbread but you do have bash in your system and this game needs bash. If you ran the game as ./piu-piu, then shebang (first line with #! of script) defines which interpreter is used and thus uses bash.

Anyway you can use specific interpreter: bash ./piu-piu

Most likely the issue is that you have ancient bash version. To check: bash -c 'echo ${BASH_VERSION}'

The game needs at least 4.2

frenchbread commented 6 years ago

@Self-Perfection Thanks for your comment. I upgraded to bash-4.4, switched to it, and ran the game with it bash-4.4$ bash ./piu-piu, getting same result.

Self-Perfection commented 6 years ago

Your prompt string does not convince me that this command launched bash 4.4. Please do copy-paste here how do you check this. For instance here is my system:

$ bash -c 'echo ${BASH_VERSION}'
4.4.7(1)-release

Also please specify with which version do you have this issue: git --no-pager log -1 --format='%h %ai'. You might want to pull more recent version.

frenchbread commented 6 years ago

You might want to pull more recent version.

Right, I did pull latest changes now and was able to play. Thanks!!