Skip to content

Instantly share code, notes, and snippets.

@kalmi
kalmi / animatedmaze.c
Created June 19, 2012 10:13
Maze animation
#include <stdio.h>
#include <ncurses.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
void draw_game_area ();
void generate_game_area ();
struct coordinate
@kalmi
kalmi / maze.c
Created June 19, 2012 10:12
Playable ncurses maze
#include <stdio.h>
#include <ncurses.h>
#include <stdbool.h>
#include <stdlib.h>
#include <time.h>
struct coordinate
{
int x;
int y;