My other class, DivideGenes, is supposed to divide the genes created in Genes in half (to create a sperm cell). I do this by
1. copying the array
2. finding random indexes in the array
3. coppying the values of the random indexes to a different array. (this array has twice as little genes...
import java.math.*;
import java.util.*;
public class genes {
char geenes[];
int geen = 0;
double tempgene = 0;
public void randgenes() {
for (int i=0; i=256; i++) {
tempgene = (Math.random());
geen = (int)tempgene*100;
geenes[i]= (char)geen;
}
}
}
this is giving me an error -...
it was hard enough learning visual basic to the level I know =(... I made the client/server though - so I might make the actual game in darkbasic...but I don't know that language at all. Could you please redirect me to some forum that can help me?
I am very new to visual basic (well not THAT new, I suceeded in multiple winsock connections) and I am attempting to make a mmorpg. (Massive Multiplayer Online Roleplaying Game). I finnished the chat and everything, the chat could handle as many people as I want it to. Now, I want to actual...
I have created a server and client application, and I made it so that the server accepts unlimited connections. I used the arrays, just as I had seen other people do. I created a counter on the server, just to make sure that more then one client CAN connect to the server, and surely as I load...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.