Skip to content

Instantly share code, notes, and snippets.

View HexadecimalHUN's full-sized avatar
🎯
Focusing

HexadecimalHUN HexadecimalHUN

🎯
Focusing
  • Aarhus
View GitHub Profile
@HexadecimalHUN
HexadecimalHUN / pattogolabda.cpp
Created February 12, 2018 14:37
Pattogo labda if nelkul
#include <curses.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <stdlib.h>
int main (void)
{
struct winsize w;
// Copyright (C) 2017, Bodnar Peter, sajtos0007@gmail.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the