Author 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 somewhere it may help me find the problem.
Serious question - is there a way to filter out all of these annoying killjoy posts which mock people for building stuff for fun that pop up every day, in my HN settings?
On a side note: Are there any websites that hold contests or aggregate user-submitted style changes for websites?
You could use an extension like this to always load that CSS / javascript for any web page, and people can use it to show off their web design skills while users would get a better UI for popular pages.
20 comments
[ 3.1 ms ] story [ 47.9 ms ] threadPressing down results in errors on line 111. let and board giving "bad array expected", "expression expected".
Edit: I am on Mac OS.
./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.
4.3.0 3.2.25 3.00.15
td.title:last-child:before { content: '2048'; }
You could use an extension like this to always load that CSS / javascript for any web page, and people can use it to show off their web design skills while users would get a better UI for popular pages.
For javascript, there is http://userscripts.org/
http://pastebin.com/WMEK5PPt