2048 in bash
github.com
2048 in bash
1–10 of 21 posts
Re: 2048 in bash
#2Re: 2048 in bash
#3Re: 2048 in bash
#4Pressing down results in errors on line 111. let and board giving "bad array expected", "expression expected".
Edit: I am on Mac OS.
Re: 2048 in bash
#5./bash2048.sh | tee qqq.log
then remove color codes from log by running:
sed -r -i "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" qqq.log
you can then see each round in the log and it should be easy to find the spot where numbers disappeared, if you could post that log somewhere it may help me find the problem.
Re: 2048 in bash
#6Author here, I did not notice any numbers disappearing on several games, maybe it is because of different versions of bash, you can try running it as: ./bash2048.sh | tee qqq.log then remove color codes from log by running: sed -r -i "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" qqq.log you can then see each round in the log and it should be easy to find the spot where numbers disappeared, if you could post that log…
4.3.0 3.2.25 3.00.15
Re: 2048 in bash
#7Re: 2048 in bash
#8Re: 2048 in bash
#9Serious question - is there a way to filter out all of these annoying 2048 games that pop up every day, in my HN settings?
Re: 2048 in bash
#10Serious question - is there a way to filter out all of these annoying 2048 games that pop up every day, in my HN settings?
td.title:last-child:before { content: '2048'; }