Moving cards through stacks.

This commit is contained in:
Murilo Soares Pereira
2010-04-22 01:50:19 -03:00
parent 7b39ec5cc6
commit 202b316719
5 changed files with 112 additions and 1 deletions

View File

@@ -3,6 +3,22 @@
#include "stack.h"
enum stack_name {
STOCK,
WASTE_PILE,
FOUNDATION_0,
FOUNDATION_1,
FOUNDATION_2,
FOUNDATION_3,
MANEUVRE_0,
MANEUVRE_1,
MANEUVRE_2,
MANEUVRE_3,
MANEUVRE_4,
MANEUVRE_5,
MANEUVRE_6
};
struct deck {
struct stack *stock;
struct stack *waste_pile;