This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************** | |
Pong | |
Created by cloakdood | |
Enjoi. | |
******************************/ | |
#include <SFML/Graphics.h> | |
#include <math.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (gridCreateLoop=0;gridCreateLoop<16;gridCreateLoop++) | |
{ | |
blueLineVert[gridCreateLoop]= sfShape_CreateLine (40*gridCreateLoop,0,40*gridCreateLoop,720,2,lineDarkBlue,0,sfWhite); | |
redLineVert[gridCreateLoop] = sfShape_CreateLine ((40*gridCreateLoop)+640,0,(40*gridCreateLoop)+640,720,2,lineDarkRed,0,sfWhite); | |
} | |
for (gridCreateLoop=0;gridCreateLoop<18;gridCreateLoop++) | |
{ | |
blueLineHoriz[gridCreateLoop]= sfShape_CreateLine (0,40*gridCreateLoop,640,40*gridCreateLoop,2,lineDarkBlue,0,sfWhite); | |
redLineHoriz[gridCreateLoop] = sfShape_CreateLine (640,40*gridCreateLoop,1280,40*gridCreateLoop,2,lineDarkRed,0,sfWhite); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
int main() | |
{ | |
int startVar=0,endVar=100; | |
system("clear"); | |
printf("Prime Number Generation\n\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************** | |
Checkers! | |
Created by Phil (aka cloakdood) | |
Enjoi. | |
******************************/ | |
#include <stdio.h> | |
#include <stdlib.h> |