Skip to content

Instantly share code, notes, and snippets.

View mimukit's full-sized avatar

Mukitul Islam Mukit mimukit

View GitHub Profile
@mimukit
mimukit / CS_TicTacToe.cs
Last active June 21, 2016 12:42
Tic Tac Toe Console Game with error/exception handling by M MUKIT.
using System;
namespace _1.Tic_Tac_Toe
{
public class TicTacToe
{
public char[,] gameBoard = new char[3,3];
public char choice;
public int player = 0;
@mimukit
mimukit / OpenGL_LineAlgo.cpp
Last active June 12, 2016 17:56
OpenGL Line Generation Algorithms Implementation
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <GL/glut.h>
using namespace std;
int pntX1, pntY1, pntX2, pntY2, choice = 0;
double x, y, length, xinc, yinc;
int round(double d)