summaryrefslogtreecommitdiff
path: root/src/ring.h
blob: c7fde98f2782dc80478e9d486c6ed55233e4785a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef RING_H
#define RING_H

#include <stdbool.h>

typedef struct ring {
	int size;
	int location;
	char ascii[10];
	bool held;
} Ring;

extern Ring rings[3];
extern Ring *held;

void pickup_ring();
bool drop_ring();
bool check_win_condition();

#endif