#ifndef KNIFFEL_H
#define KNIFFEL_H

#include "dice.h"

struct Kniffel {
    int sums[6] = {-1, -1, -1, -1, -1, -1};
    int specials[7] = {-1, -1, -1, -1, -1, -1, -1};
    bool failed = false;
};

void print(Kniffel &k);
bool hasBonus(Kniffel &k);
int total(Kniffel &k);
int choose_insert(Kniffel &k, Dice &d);
bool set_sum(Kniffel &k, Dice &d, int sides);
bool set_special(Kniffel &k, Dice &d, int special);
bool is_finished(Kniffel &k);

#endif