Monday 1 January 2018

Download CPSS(PABT) Game conducted for Indian Airforce Pilot Selection

Download CPSS Games.

Hello everyone,I'm Guruprasad.I had attended CPSS(Computerised Pilot Selection System) once and i can proudly say that i cleared it.But while i was preparing for the exam, I was searching for content online to prepare for the test but I hardly could find any games related to CPSS.So after finishing my interview, I thought why couldn't I try to make such games.I know a bit of C++ programming.So with the help of that knowledge.I have tried to create a game which is similar to the one conducted in actual game.Hope it helps you guys(took more than 6hrs to make the game :) ).

The gameplay video......





I will give the link below....
Download the Game


So the game isnt exactly perfect.In the actual game the image grows on its own and it stops growing when you press a button but here due to my little programming knowledge I couldnt replicate that.Instead I have made it such a way that you have to hold a button and the image grows. You have to stop once you feel that the image is of same size of the actual image.Then wait for a second and you will get your result after pressing any button.So if any programming expert can help me out with that I would be very happy.So here is the actual code of the game I created..

***********************************************************************************

#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include<time.h>
#include<iostream.h>


int main(void)
{
   /* request auto detection */
   int  gmode, errorcode;
   int midx, midy;

   /* initialize graphics and local variables */
   randomize();
   int graphdriver = DETECT, graphmode;
  initgraph(&graphdriver, &graphmode, "..\\bgi");
   /* read result of initialization */
   errorcode = graphresult();
   if (errorcode != grOk)  /* an error occurred */
   {
      printf("Graphics error: %s\n", grapherrormsg(errorcode));
      printf("Press any key to halt:");
      getch();
      exit(1); /* terminate with an error code */
   }
else
   {

   midx = getmaxx() / 2 ;
   midy = getmaxy() / 2;

   int trials=3;
    outtextxy(150,midy,"This is a game developed by URGURU");
    getch();
    cleardevice();
   // outtext("It is slightly different from the one conducted in cpss.In the actual game you have to press a button when you feel the image growing is of same size of the actual image.\nBut here hold any button and wait till you feel the actual image is of same size of the growing image");

    cout<<"\n\n\n\t\t\t*****UR GURU*****\n\t1.This game is slightly different\n\t from the one conducted in cpss.\n\t2.In the actual game you have to press a button\n\t when you feel the image growing is of same size of the actual image.\n\t3.But here hold any button and wait till you feel the \n\tactual image is of same size of the growing image";
    cout<<"\n\t4.Release the button once you feel both the circles are of same size";
    cout<<"\n\t5.Wait for a second and then press any button";
    cout<<"\n\t6.The radius of both the circles are shown";
    cout<<"\n\t7.Then press any button to continue for the next attempt";
    cout<<"\n\t\t\t******All the Best*****";
    getch();
    cout<<"\n\n\tHow many trials would you like to try.....?\n\t";
    cin>>trials;


    for(int i=1;i<=trials;++i)
    {
char intasstring[10];
itoa(i,intasstring,10);
cleardevice();
setfillstyle(1,random(10));
int temprad=0.1*midx+random(0.5*midx);
char chartemprad[10];
itoa(temprad,chartemprad,10);
time_t first,second;
for(int j=0;j<=(0.6*midx);++j)
{       first=time(NULL);
int tempo=midx-80;
char temprad2[10];
itoa(j,temprad2,10);
outtextxy(tempo,20,"Trial No:");
outtextxy(midx,20,intasstring);

fillellipse(midx*0.5, midy,temprad,temprad);
fillellipse(midx*1.5,midy,j,j);
getch();
second=time(NULL);
if(float(difftime(second,first))>1)
{

outtextxy(midx-100,40,"Trial over.Click for next one");
outtextxy(midx*0.5-50,30,chartemprad);
outtextxy(midx*1.5-50,30,temprad2);
getch();
cleardevice();
break;
}
}
outtextxy(midx-75,midy-10,"END OF THE GAME.");
outtextxy(midx-225,midy+10,"SUBSCRIBE TO UR GURU YOUTUBE CHANNEL FOR MORE SUCH CONTENT");


     }
    }
getch();



   closegraph();

   return 0;
}


**************************************************************************************************************************************************


Let me know in the comments below if it has helped you guys..........

4 comments:

  1. Hey,
    can you please tell what kind of questions are asked in CPSS before the psychometric test and apart from the instrument reading test.

    ReplyDelete
    Replies
    1. Hey!!!!
      can you please tell me the steps to be followed in order to open this game ........

      Delete
  2. Sir if another game had been made by you or your friend then sir please upload it .Only if you are free(Microsoft internship).........:):):)

    ReplyDelete
  3. Sir you can send the game link

    ReplyDelete