mirror of https://github.com/dnomd343/klotski.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
418 B
25 lines
418 B
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include "raw_code.h"
|
|
#include "common_code.h"
|
|
|
|
namespace klotski {
|
|
|
|
class Group {
|
|
public:
|
|
|
|
struct block_num_t {
|
|
uint8_t n_1x1 = 0;
|
|
uint8_t n_1x2 = 0;
|
|
uint8_t n_2x1 = 0;
|
|
};
|
|
|
|
static block_num_t block_num(const RawCode &raw_code);
|
|
static block_num_t block_num(const CommonCode &common_code);
|
|
|
|
static uint32_t demo(const RawCode &seed);
|
|
|
|
};
|
|
|
|
}
|
|
|