Commit Graph

11 Commits

Author SHA1 Message Date
Marc Tiehuis
984a5b9f18 Add memory allocation checks
Closes #18.
2017-08-12 11:09:07 +12:00
tiehuis
4520781f25 Remove various compilation warnings
With the removal of these warnings we slightly improve the robustness of
the highscore parsing, handling some more cases of bad parsing/writing
and failure to open files.
2015-12-30 11:49:04 +13:00
tiehuis
28b4a46336 Fix blocks incorrectly spawning on no field change
See https://github.com/Tiehuis/2048-cli/issues/14.
2015-12-30 11:35:35 +13:00
Tiehuis
dc9adea7b5 Get rid of random blockgenerator in favor of a linear time one. Changed a sleep in ai to use gfx_sleep 2015-02-25 23:54:13 +13:00
Tiehuis
c0d4b6de3e Small change to animating rows 2015-02-25 15:14:15 +13:00
Tiehuis
cf1a147078 Added ai modes. Altered output of highscores to allow possible parsing with tools easier 2015-02-25 14:51:48 +13:00
Tiehuis
2d9f89f339 Make conditional linking happen in makefile for merges 2015-02-25 10:47:41 +13:00
Tiehuis
40f6419c55 Fix errors. Add printing of scores after game so user can actually see what they scored 2015-02-23 12:41:34 +13:00
Tiehuis
375cdeb7da Allow spawn rate option to work as intended 2015-02-23 10:12:01 +13:00
Tiehuis
5d6c3f92be Reintroduced color support for ncurses version 2015-02-22 16:30:40 +13:00
Tiehuis
8cff1bb002 Major rewrite. Abstracting graphics code completely and allowing new extensions via a consistent drawing interface 2015-02-21 15:36:15 +13:00