Commit Graph

  • 2c1996bcf1 Add gameplay GIF. Murilo Pereira 2013-12-24 15:30:33 -02:00
  • ef4386f2fc Only update this pattern at root. Murilo Pereira 2013-12-24 15:30:20 -02:00
  • cb2f3f7ff3 Update README. Murilo Pereira 2013-12-24 14:46:37 -02:00
  • eca0819609 Compile and run on OS X. Murilo Pereira 2013-12-24 14:41:02 -02:00
  • fac0750a2c Fix test run. Murilo Pereira 2013-05-04 16:40:33 -04:00
  • c3e1736d3b Add uninstall target. Murilo Pereira 2013-03-16 12:59:55 -04:00
  • b1b2c039be Add install target. Murilo Pereira 2013-03-16 12:55:17 -04:00
  • 9c4ee71eb6 Clear screen before game_init(). Murilo Pereira 2011-07-02 20:20:07 -03:00
  • 014b4d6e98 Updated TODO. Murilo Pereira 2011-06-19 19:40:24 -03:00
  • 893f18a7e0 Resizing works. Murilo Pereira 2011-06-19 19:36:29 -03:00
  • 561b4ba599 Pass program name as argument to usage(). Murilo Pereira 2011-06-12 21:39:11 -03:00
  • 0325778de4 Put usage in the README. Murilo Pereira 2011-06-12 21:37:03 -03:00
  • 7db3251195 Moar specific. Murilo Pereira 2011-06-12 20:31:29 -03:00
  • e379b28468 Some systems need explicit wide character support when compiling. Murilo Pereira 2011-06-12 20:17:06 -03:00
  • e4f07b4692 Move cursor down 1 row when moving to empty maneuvre stacks. Murilo Pereira 2011-06-10 00:07:13 -03:00
  • e54c385a78 Updated README. Murilo Pereira 2011-06-10 00:02:19 -03:00
  • 99ae6e954a Renamed the 'draw' module to 'gui'. Murilo Pereira 2011-06-08 22:55:44 -03:00
  • 27f53f57ce Cards are supposed to be covered when starting a new cycle. Murilo Pereira 2011-06-08 22:19:47 -03:00
  • 9a866dd011 Fixing card front rendering on waste pile. Murilo Pereira 2011-06-08 22:18:11 -03:00
  • e40a999620 Update TODO. Murilo Pereira 2011-06-08 12:33:06 -03:00
  • b5a93fc871 Update usage. Murilo Pereira 2011-06-08 12:01:29 -03:00
  • 2744533d96 Decrease noobishness. Murilo Pereira 2011-06-08 11:51:22 -03:00
  • 7aaa0c82cb Added option to control the number of passes through the deck. Murilo Pereira 2011-06-08 02:36:46 -03:00
  • a213bfec55 Added initial opt handling and VERSION file. Murilo Pereira 2011-06-08 01:02:05 -03:00
  • 0780ab75fb Unmodularizing stupidity. Murilo Pereira 2011-06-07 00:27:43 -03:00
  • cba0615b24 Moved functions to the cursor module. Murilo Pereira 2011-06-06 22:19:08 -03:00
  • 6588525e8e Encapsulated behaviour into cursor_direction(). Murilo Pereira 2011-06-06 22:06:10 -03:00
  • 977c80b91e Updated README with screenshots. Murilo Pereira 2011-06-06 03:15:44 -03:00
  • 6b709f047a Name-spaced functions for cursor. Murilo Pereira 2011-06-06 02:21:50 -03:00
  • 955f2fbc90 Name-spaced functions for frame. Murilo Pereira 2011-06-06 02:16:54 -03:00
  • bc6b04eb36 Name-spaced functions for deck. Murilo Pereira 2011-06-06 02:04:03 -03:00
  • 95a1c77a25 Name-spaced functions for card and stack. Murilo Pereira 2011-06-06 01:57:52 -03:00
  • c3f6e16dc8 Name-spaced defines. Murilo Pereira 2011-06-06 01:33:49 -03:00
  • b35a3105e3 Checking TODO in. Murilo Pereira 2011-06-06 01:15:46 -03:00
  • 2d27a53d95 Added game_won(). Murilo Pereira 2011-06-06 00:42:23 -03:00
  • 4d3892101d Encapsulated function to move blocks and removed compiler warnings. Murilo Pereira 2011-06-05 23:08:08 -03:00
  • 656f8e6190 Fix invalid spot's segfaults added with the new code. Murilo Pereira 2011-06-05 18:41:09 -03:00
  • ff0dd068be Updated instructions. Murilo Pereira 2011-06-05 18:00:03 -03:00
  • 4c529f0ab7 No need to move the cursor on waste pile. Murilo Pereira 2011-06-05 17:39:57 -03:00
  • 3b1dd0bcf6 Implemented logic for moving blocks of cards. Murilo Pereira 2011-06-05 17:34:02 -03:00
  • b7cce35315 Only add cards to a block if they are exposed. Murilo Pereira 2011-06-05 00:16:07 -03:00
  • c8972ab9e8 Fucking invalid spot. Murilo Pereira 2011-06-04 23:54:16 -03:00
  • e585cb5c3b Don't show box chars on waste pile's cards. Murilo Pereira 2011-06-04 23:41:07 -03:00
  • 54b55d8fa9 Initial code for moving blocks of cards implemented. Murilo Pereira 2011-06-04 23:37:48 -03:00
  • 9ad711daec More expressive back card. Murilo Pereira 2011-06-04 19:20:05 -03:00
  • ce8400740a Some changes. Murilo Pereira 2011-06-04 17:15:12 -03:00
  • 802350e051 LDFLAGS go after all objects. Murilo Pereira 2011-06-04 01:42:53 -03:00
  • 3e46dab2ee Omg wtf noob. Murilo Pereira 2011-06-03 03:27:53 -03:00
  • 06782215b2 s/display/draw. Murilo Pereira 2011-06-03 03:22:48 -03:00
  • 28ce3e07bd Removed stupid curses files. Murilo Pereira 2011-06-03 03:09:14 -03:00
  • 261950f133 Small refactorings/cleanups. Murilo Pereira 2011-06-03 02:48:26 -03:00
  • b5811c5d6d Adding some function declarations and removing wtf. Murilo Pereira 2011-06-03 00:18:17 -03:00
  • 4cdf785130 Not needed anymore. Murilo Pereira 2011-06-03 00:16:41 -03:00
  • fefb2ed92f These are only used here. Murilo Pereira 2011-06-03 00:15:47 -03:00
  • 548fe23b5d Don't segfault when moving to/off the invalid spot [2]. Murilo Pereira 2011-06-03 00:10:48 -03:00
  • 9fbd1cbcaf Only one reference to symbol strings. Murilo Pereira 2011-06-03 00:07:02 -03:00
  • 51c3b51a8b Fixed some things. Murilo Pereira 2011-06-01 11:43:16 -03:00
  • 2092abc021 Expose covered top cards. Murilo Pereira 2011-06-01 02:24:02 -03:00
  • 74bdd55bd5 Added actual klondlike solitaire rules for moving cards. Murilo Pereira 2011-06-01 02:18:53 -03:00
  • 69d3647dae Do not segfault when moving from/to the invalid spot. Murilo Pereira 2011-06-01 01:08:32 -03:00
  • 7c28c40ec3 Move cursor down when moving cards to maneuvre stacks. Murilo Pereira 2011-06-01 00:47:58 -03:00
  • 36bc8e7d8e Fixed ESC pressing while holding a card. Murilo Pereira 2011-05-31 22:43:22 -03:00
  • 0739b171c1 Removing stupid hack. Murilo Pereira 2011-05-31 22:39:28 -03:00
  • 0a100a7b6a Revert "Oops. cursors showing up again." Murilo Pereira 2011-05-31 22:37:07 -03:00
  • 9636828ba5 Oops. cursors showing up again. Murilo Pereira 2011-05-31 16:17:26 -03:00
  • 8d3e667e86 Actually run it. Murilo Pereira 2011-05-31 03:52:03 -03:00
  • e4c342cc12 Ignore the binaries. Murilo Pereira 2011-05-31 03:40:29 -03:00
  • ae5ccc75cb Fixed screen flicker on cursor movement. Murilo Pereira 2011-05-31 03:31:36 -03:00
  • 1c63b767f6 C-ifying project. Murilo Pereira 2011-05-31 03:03:13 -03:00
  • 57a38c7152 Fixed card moving issue. Fixes . Murilo Pereira 2011-05-31 02:49:06 -03:00
  • 1b6d79b26c More thorough test for this scenario. Murilo Pereira 2011-05-31 02:46:43 -03:00
  • aa7accb3f1 Added escape key. Murilo Pereira 2011-05-31 02:45:49 -03:00
  • 7262ac588f Fixed memory leak. Murilo Pereira 2011-05-31 02:45:11 -03:00
  • e5e94cc841 Removing unnecessary indirection. Murilo Pereira 2011-05-31 02:44:16 -03:00
  • 79f5a34a06 cursor->marked. Murilo Pereira 2011-05-31 02:42:10 -03:00
  • 137bb109d6 set_escdelay(0). Murilo Pereira 2011-05-31 02:40:53 -03:00
  • c545fe025e return()s. Murilo Pereira 2011-05-29 17:34:59 -03:00
  • 25ac37a219 Array for maneuvre and foundation stacks. Murilo Pereira 2011-05-29 17:12:52 -03:00
  • b94ea8797a Make stack#pop return a card and don't duplicate stuff on push/pop. Murilo Pereira 2011-05-29 15:19:00 -03:00
  • 6282cf8ee2 Saving 104 bytes. Murilo Pereira 2011-05-28 00:44:16 -03:00
  • 52e396a9df Updated github username. Murilo Pereira 2011-05-26 18:26:30 -03:00
  • f4e9a10572 Smarter stack erasing. Murilo Pereira 2011-05-15 20:39:22 -03:00
  • 18a78c9713 Add cursor#free_cursor prototype. Murilo Pereira 2011-05-15 15:03:24 -03:00
  • ce99997280 Traverse the stack's cards and paint their backgrounds. Murilo Pereira 2011-05-15 15:02:34 -03:00
  • 6a08aad3d3 Give cursor its own WINDOW. Murilo Pereira 2011-05-09 02:04:38 -03:00
  • e70a87feac Removing evolutionary artifact. Murilo Pereira 2011-05-09 01:11:15 -03:00
  • d2950f95ce s/shape/window Murilo Pereira 2011-05-09 00:50:56 -03:00
  • 9ecf0acec8 s/start/begin Murilo Pereira 2011-05-09 00:38:31 -03:00
  • 539c0ecb00 Conciseness. Murilo Pereira 2011-05-09 00:04:03 -03:00
  • 3d421f31d3 s/util/curses. Murilo Pereira 2011-05-08 20:38:36 -03:00
  • 4802244efa Less mental retardation. Murilo Pereira 2011-05-08 20:20:22 -03:00
  • ea9ff3cfb5 No return on end of void functions. Murilo Pereira 2011-05-08 16:58:18 -03:00
  • f86f3357ae This behaviour was moved to display#draw_stack. Murilo Pereira 2011-05-08 16:49:16 -03:00
  • e2554f181e Empty stacks drawn jit. Murilo Pereira 2011-05-08 15:17:16 -03:00
  • 22aa293645 Meh. Murilo Pereira 2011-05-08 01:29:16 -03:00
  • f48a3cee38 Better style for stack#free_stack. Murilo Pereira 2011-05-08 01:22:26 -03:00
  • e7706dfa4b Implemented game#valid_move. Murilo Pereira 2011-05-07 23:09:39 -03:00
  • 854184c2fd stack#push and stack#pop less destructive. Murilo Pereira 2011-05-01 05:36:46 -03:00
  • 5d96d20893 Move dup functions to lib. Murilo Pereira 2011-05-01 03:06:43 -03:00
  • 20d68a6f3d Only traverse maneuvre stacks for drawing. Murilo Pereira 2011-05-01 02:05:35 -03:00