Skip to content

Instantly share code, notes, and snippets.

View gjain-7's full-sized avatar

Gaurav Jain gjain-7

  • IIT Indore
  • Mumbai, India
View GitHub Profile
@gjain-7
gjain-7 / chess.c
Last active June 23, 2024 14:23
Chess implementation in C. Does not work, some error in code.
// borrwed from https://codereview.stackexchange.com/questions/234619/chess-game-in-c
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
void drawMoves();
enum Type {