Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions flappybird.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include<iostream>

#include<conio.h>
#include<dos.h>
#include<stdlib.h>
Expand All @@ -14,7 +14,7 @@
#define PIPE_DIF 45

using namespace std;
// cout<<"���������";
// cout<<"±±±±±±±±±";

HANDLE console = GetStdHandle(STD_OUTPUT_HANDLE);
COORD CursorPosition;
Expand Down Expand Up @@ -48,16 +48,16 @@ void setcursor(bool visible, DWORD size)
void drawBorder(){

for(int i=0; i<SCREEN_WIDTH; i++){
gotoxy(i,0); cout<<"";
gotoxy(i,SCREEN_HEIGHT); cout<<"";
gotoxy(i,0); cout<<"±";
gotoxy(i,SCREEN_HEIGHT); cout<<"±";
}

for(int i=0; i<SCREEN_HEIGHT; i++){
gotoxy(0,i); cout<<"";
gotoxy(SCREEN_WIDTH,i); cout<<"";
gotoxy(0,i); cout<<"±";
gotoxy(SCREEN_WIDTH,i); cout<<"±";
}
for(int i=0; i<SCREEN_HEIGHT; i++){
gotoxy(WIN_WIDTH,i); cout<<"";
gotoxy(WIN_WIDTH,i); cout<<"±";
}
}
void genPipe(int ind){
Expand Down