Skip to content

Instantly share code, notes, and snippets.

@carlosrivera
Created July 25, 2012 01:59
Show Gist options
  • Save carlosrivera/3173924 to your computer and use it in GitHub Desktop.
Save carlosrivera/3173924 to your computer and use it in GitHub Desktop.
An ofuctaded pong game developed on C++
#include <cstdlib>
#include <windows.h>
#define _s_l33x(_3Ep0x033) Sl##_3Ep0x033
void __OxO___(short x0, short Ox){ COORD
__0x12o={x0,Ox};SetConsoleCursorPosition
(GetStdHandle((DWORD)-0x000b),__0x12o);}
#include <iostream>
void main(){{}short _________,_____=0x00013,____, __0x001__, __0x00l__;
_________=____=__0x001__=__0x00l__=0x01;_________ +=0x09;int __0x0__=0;
while(true){std::system("CLS");for(int i=0x00;i<39;std::cout<<"_",i++);
for(short x0=0x0;x0<24;__OxO___(0x0,x0),std::cout<<"|",__OxO___(39,x0),
std::cout<<"|",x0++);{{{{_____ += __0x001__;}}{{____ += __0x00l__;}}}}
(_____>37 )||(_____< 0x2)?__0x001__*=-1:void(0x0);(____ <0x2)?__0x00l__
*=-1:(____ >22)&&(_____<(_________+0x007))&&(_____>_________)?__0x00l__
*=-1,__0x0__++:____>23?__0x0__=0x000,____=1:void(0x0);int _i_(0x12345);
__OxO___(_____,____);std::cout<<"O";{{++(++_i_);}};{{{;}}{{}}};(_i_++);
__OxO___(_________,23);std::cout<<"HHHHHHH";{__OxO___(44,4);std::cout<<
"Score: "<<__0x0__;}::GetAsyncKeyState(0x25)&&_________>0x1?_________-=
0x1:__noop;::GetAsyncKeyState(0x27)&&_________<32?_________+=0x1 :true;
{{{::_s_l33x(eep)(100);}}};0x001?true:false;_i_--; } 0x34; return ;{;}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment