Skip to content

Instantly share code, notes, and snippets.

View ivangd97's full-sized avatar

Iván González ivangd97

  • Kyndryl
  • Cáceres-Spain
View GitHub Profile
@ivangd97
ivangd97 / 2048.cpp
Created December 14, 2015 11:20 — forked from chandruscm/2048.cpp
A simple implementation of the popular 2048 puzzle in C++ . Visit http://chandruscm.wordpress.com/2014/10/25/2048-in-c-c/ for code explanation.
#include<iostream>
#include<ctime>
#include<unistd.h>
#include<cstdlib>
#include<cstdio>
#include<cmath>
using namespace std;
int press_enter;