Skip to content

Instantly share code, notes, and snippets.

@kimhunter
kimhunter / 2048.c
Last active August 29, 2015 13:58 — forked from justecorruptio/2048.c
M[16], X = 16, W, k;
main()
{
T(system("stty cbreak"));
puts(W & 1 ? "WIN" : "LOSE");
}
K[] = { 2, 3, 1 };
s(f, d, i, j, l, P)
{
for (i = 4; i--;)