aboutsummaryrefslogtreecommitdiff
path: root/main.c
blob: 527940777f9688037068badd7ba2a8761264a9a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "7w.h"
#include <stdlib.h>

void io_init();
void cards_init();
void io_printcard(int x, int y, int era, int card);

void halt()
{
 endwin();
 exit(0);
}

main()
{
 io_init();
 cards_init();
 io_printcard(0, 0, 0, 0);
 io_printcard(0, 6, 2, 14);
 io_printcard(0, 20, 2, 3);
 io_printcard(31, 0, 1, 12);
 io_printcard(31, 20, 1, 20);
 io_getkey();
 halt();
}
bgstack15