You are not logged in.
Pages: 1
Hi guys,
I'd like to intdroduce my version of the 2048 game.
It's ncurses-based, written in c.
Distinguishing features are animation and autosave.
I'm not an experienced programmer, so I would appreciate any feedback very much!
https://aur.archlinux.org/packages/2048term-git/
https://github.com/alewmoose/2048-in-terminal/
Offline
Nice. Thanks alewmoose...
(As additional info, In case you want to add to your Github page, it installed fine in OS X as well.)
[genEric@…] ~$
Offline
The animations are extremely fluid! One question though: When there's a game over, why does it not remove the game state when the user quits? Is this intended?
Also, forgot to mention that the installed binary conflicts with https://aur.archlinux.org/packages/2048.c/. You may want to mention that in the PKGBUILD or change the compiled binary name.
Last edited by ShadowKyogre (2015-01-08 05:40:27)
For every problem, there is a solution that is:
Clean
Simple and most of all...wrong!
Github page
Offline
genEric, thanks!
ShadowKyogre, yes, it's intended and corresponds to original game behavior.
I edited PKGBUILD, the binary name is "2048t" now.
Offline
Cool We had to write a graphical one (albeit in Java) for a university project.
If you feel like doing some more work (er.. if you feel like opening up a whole other can of worms ) you might want to look into autosolvers. The possilities are endless and it's great fun! See this SO post for a start.
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Thanks, Unia. I know nothing about AI, but maybe I'll try to figure something out
Offline
It's not really AI per sé, just some fancy algorithms. I knew nothing about it when I started working on it (we chose to do it as an "extra", boy were we unprepared ) and ended up with something that somehow works, but somehow doesn't I did not have enough time left to properly debug everything, so we decided to roll with it as a demo.
There was one specific implementation in C that is really simple to understand, but incredibly smart at the same time: https://github.com/Naruil/2048-AI/blob/master/2048.c
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Very nice game! And I like the sources as well, they're clean and simple.
Offline
Pages: 1