1
TI-Nspire / Re: 2048 for Nspire
« on: March 31, 2014, 07:57:43 pm »
I have the original vanilla version (attached).
Anyone want to help me with the scoring mechanism? I don't know exactly where I should put the command to add points to the score.
I think I've fixed the scoring issue (because I switched to the newer version with animations). To reduce the "confusion" when performing multiple moves rapidly, I increased the "8"s on tile:animate() to 40 and it seems to have made gameplay more fluid.
I will continue to play around with the program and attempt to add features.
EDIT: I've created boxes for the score and highscore, as well as a button to restart. After a win/loss, a try again button will appear if you want to restart (even though the "new game" button is still there ). It won't work with apilevel < 2.0 though.
I think I've fixed the scoring issue (because I switched to the newer version with animations). To reduce the "confusion" when performing multiple moves rapidly, I increased the "8"s on tile:animate() to 40 and it seems to have made gameplay more fluid.
I will continue to play around with the program and attempt to add features.
EDIT: I've created boxes for the score and highscore, as well as a button to restart. After a win/loss, a try again button will appear if you want to restart (even though the "new game" button is still there ). It won't work with apilevel < 2.0 though.