Bu proje cogu bilg muh bolumlerinde univlerde ogrencilerden istenmistir, benim yazdigim ise tamamen array kullanilmadan yapilmistir sadece linked list ile yapilmistir. ne gunlerdi yaa ozledim simdi

Kod asagidadir.
===========================================
*--------------------------------------------------------------------
File :cell.c
Author :kalınbacak
Last Update :23/2/2006
Platform :Any
Tranlator :Any
The GAME OF LIFE using Linked Lists.
Copyleft(c) 2005 by kalinbacak
All Rights Free



1.eger bir cell canli ise ama iki yada daha az celle komsu degilse,bu cell yalnizlikdan olur.
2.eger bir cell canli ise ve 4 yada fazla canli komsu celli varsa,gelecekde bu cell
kalabalikdan olur.
3.canli 2 yada 3 komsusu olan bir canli cell,gelecekde de canli kalir.
4.eger bir cell olurse,eger gelecekde o cell kesin 3 canli cell e komsu
ise bu cell de canli olur aksi takdir de oludur.
5.tum dogumlar ve olumler ayni zamanda olur,bu yuzden olen celler diger
cellerein dogmasina yardim eder,ancak yalnizlikdan dolayi digerlerinin
olumune yardim edemez,hic bir cell dogmus olamaz gelecekde yasayan cell i
olduremez yada engelleyemez
-----------------------------------------------------------------------*/

#include<stdio.h>
#include<stdlib.h>
struct yapi{
int a;
struct yapi* kendi;
};
typedef struct yapi yapim;
typedef yapim* gos;
void al(gos*,int,int);
void aliki(gos*,int,int);
void aluc(gos*,int);
void yazdir(gos,int);
void gir(gos*,int,int,int);
int kont(gos,int,int);
void sok(gos*,int,int);
int main()
{
gos ana=NULL;
int e,bos,kapali,coun,c,satir,sutun,i,b,we,s;

bos=0;
kapali=1;
printf("****CREATE THE WORLD****\n");
printf("Enter Size of World\n? ");scanf("%d",&e);
coun=1;
c=1;
al(&ana,kapali,e);
aliki(&ana,bos,e);
aluc(&ana,kapali);
while(coun<=e-3){

aliki(&ana,bos,e);
if (c<=e-4)
{aluc(&ana,kapali);}
c++;
coun++;
}

al(&ana,kapali,e);
yazdir(ana,e);
printf("\nStarting...\n");
printf("2 is Alive and 3 is Die\n");
for (i=0; i<6; i++)
{
printf("EnterRow=");scanf("%d",&satir);
printf("EnterColumn=");scanf("%d",&sutun);
gir(&ana,satir,sutun,e); printf("\n");
}
yazdir(ana,e);
for (s=1; s<=10; s++){ /*days*/
for (b=e+1; b<=((e*e)-e)-1; b++){

we=kont(ana,b,e);

sok(&ana,b,we);


}
printf("\n%d.day\n",s);
yazdir(ana,e);
}
return 0;
}
void al(gos* sptr,int boskapali,int boyut)
{
gos yeni;
int i;
for (i=0; i<boyut+1; i++){
yeni=malloc(sizeof(yapim));
yeni->a=boskapali;
yeni->kendi=NULL;
yeni->kendi=*sptr;
*sptr=yeni;
}
}
void aliki(gos* kptr,int boskapaliiki,int boyutiki)
{
gos yeniiki;
int j;
for (j=0; j<boyutiki-2; j++){
yeniiki=malloc(sizeof(yapim));
yeniiki->a=boskapaliiki;
yeniiki->kendi=NULL;
yeniiki->kendi=*kptr;
*kptr=yeniiki;
}
}
void aluc(gos* rptr,int boskapaliuc)
{
gos yeniuc;
int k;
for (k=0; k<2; k++){
yeniuc=malloc(sizeof(yapim));
yeniuc->a=boskapaliuc;
yeniuc->kendi=NULL;
yeniuc->kendi=*rptr;
*rptr=yeniuc;
}
}
void yazdir(gos anagoster,int boyy)
{
int i,j;

for (i=0; i<boyy; i++){
for (j=0; j<boyy; j++){
printf("%d",anagoster->a);
anagoster=anagoster->kendi;
if (anagoster==NULL) continue;
}
printf("\n");
}

}
void gir(gos* gptr,int satirr,int sutunn,int boyg)
{
gos at;
int say,i;
say=((satirr-1)*boyg)+sutunn;
at=*gptr;

for (i=1; i<say; i++){
at=at->kendi;
}
at->a=2;



}
int kont(gos wptr,int bk,int e)
{

int t=0;
int nbk,i,k,r;
nbk=(bk)-(e+1);

for (i=1; i<nbk; i++){
wptr=wptr->kendi;
}
if (wptr->a==2) {t++;}

wptr=wptr->kendi;
if (wptr->a==2) {t++;}


wptr=wptr->kendi;
if (wptr->a==2) {t++;}

for (k=1; k<e-1; k++){
wptr=wptr->kendi;

}
if (wptr->a==2) {t++;}
wptr=wptr->kendi;
wptr=wptr->kendi;
if (wptr->a==2) {t++;}
for (r=1; r<e-1; r++){
wptr=wptr->kendi;

}
if (wptr->a==2) {t++;}
wptr=wptr->kendi;
if (wptr->a==2) {t++;}
wptr=wptr->kendi;
if (wptr->a==2) {t++;}
return t;

}
void sok(gos* rbb,int re,int rr)
{
gos bb;
int i;

bb=*rbb;

if (rr==3){
for (i=1; i<re; i++){
bb=bb->kendi;
}
if (bb->a!=1) bb->a=2;
}
if (rr>3){
for (i=1; i<re; i++){
bb=bb->kendi;
}
if (bb->a!=1 && bb->a!=0) bb->a=3;
}
if (rr<=2){
for (i=1; i<re; i++){
bb=bb->kendi;
}
if (bb->a!=1 && bb->a!=0) bb->a=3;
}
}