]> git.cworth.org Git - kub/log
kub
17 years agoAdd kub binary to .gitignore
Carl Worth [Wed, 14 Feb 2007 16:54:17 +0000 (08:54 -0800)]
Add kub binary to .gitignore

17 years agoImplement card_group_is_run with one loop instead of two.
Carl Worth [Mon, 29 Jan 2007 15:19:33 +0000 (07:19 -0800)]
Implement card_group_is_run with one loop instead of two.

It's simpler to just implement a single check for color in the same
loop that's examining the color of every card. We don't need to
check every pair of cards for matching color as we were in the old
loop.

17 years agoUse subraction to implement card_compare
Carl Worth [Mon, 29 Jan 2007 15:09:23 +0000 (07:09 -0800)]
Use subraction to implement card_compare

17 years agoFixed card_group_is_run to include last card in number compare
Kevin Worth [Mon, 29 Jan 2007 14:46:08 +0000 (09:46 -0500)]
Fixed card_group_is_run to include last card in number compare

17 years agoRemove duplicate definition of card_group_is_run
Carl Worth [Mon, 29 Jan 2007 14:22:36 +0000 (06:22 -0800)]
Remove duplicate definition of card_group_is_run

17 years agoAdd unconditional return value to card_compare
Carl Worth [Mon, 29 Jan 2007 14:22:09 +0000 (06:22 -0800)]
Add unconditional return value to card_compare

This avoids a wanring from gcc about a function possibly not returning
a value.

17 years agoFix syntax errors in card_compare
Carl Worth [Mon, 29 Jan 2007 14:21:18 +0000 (06:21 -0800)]
Fix syntax errors in card_compare

17 years agoAdd some minimal GTK+ love to kub
Carl Worth [Mon, 29 Jan 2007 14:14:50 +0000 (06:14 -0800)]
Add some minimal GTK+ love to kub

This initializes GTK+, creates a window, and establishes 4 callback functions
for handling expose, key press, and button press/release events. So far,
the callbacks are just printing things to stdout and not really doing anything
useful yet.

17 years agoAdded beginnings of card_compare and added to card_group_is_run(still incomplete)
Kevin Worth [Sat, 27 Jan 2007 20:17:43 +0000 (15:17 -0500)]
Added beginnings of card_compare and added to card_group_is_run(still incomplete)

17 years agoNew svg files of Kevin's Kub tiles
Kevin Worth [Mon, 15 Jan 2007 20:39:56 +0000 (12:39 -0800)]
New svg files of Kevin's Kub tiles

17 years agoKub can now _reliably_ shuffle deck and deal in 1-4 players
Kevin Worth [Sat, 4 Feb 2006 18:33:43 +0000 (10:33 -0800)]
Kub can now _reliably_ shuffle deck and deal in 1-4 players

17 years agoMinor fixes to kub
Kevin Worth [Sat, 21 Jan 2006 07:42:39 +0000 (23:42 -0800)]
Minor fixes to kub

17 years agoCompleted _is_set and _is_run but still lacking debugging code for said functions
Kevin Worth [Sat, 21 Jan 2006 07:38:14 +0000 (23:38 -0800)]
Completed _is_set and _is_run but still lacking debugging code for said functions

17 years agoFixed kub to print deck better(still not perfect)
Kevin Worth [Sun, 15 Jan 2006 07:50:42 +0000 (23:50 -0800)]
Fixed kub to print deck better(still not perfect)

17 years agoKub compiles with no errors but still plenty of bugs
Kevin Worth [Sat, 14 Jan 2006 18:50:49 +0000 (10:50 -0800)]
Kub compiles with no errors but still plenty of bugs

17 years agoAdd .gitignore file
Carl Worth [Sat, 27 Jan 2007 14:29:50 +0000 (06:29 -0800)]
Add .gitignore file

17 years agoAdd simple Makefile
Carl Worth [Sat, 27 Jan 2007 14:22:38 +0000 (06:22 -0800)]
Add simple Makefile

We needed a trivial little Makefile since we extracted kub
out of a former project that had been using automake.

17 years agoAdd kub program
Kevin Worth [Sat, 14 Jan 2006 17:01:24 +0000 (09:01 -0800)]
Add kub program