Sha256: 3e1c2b4333c6dc3c0235e68b36ad83a64f2e1e4103c5980fab50ce0d7879053a
Contents?: true
Size: 300 Bytes
Versions: 124
Compression:
Stored size: 300 Bytes
Contents
#ifndef QUEEN_ATTACK_H #define QUEEN_ATTACK_H #include <stdint.h> typedef enum { CAN_NOT_ATTACK, CAN_ATTACK, INVALID_POSITION } attack_status_t; typedef struct { uint8_t row; uint8_t column; } position_t; attack_status_t can_attack(position_t queen_1, position_t queen_2); #endif
Version data entries
124 entries across 124 versions & 1 rubygems