Download List

Projeto Descrição

Java Fortune Teller is a Java version of the
famous fortune game from BSD.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2004-10-17 22:35
0.6

Array listas são utilizados novamente, mas eles são usados de forma mais eficiente desta vez. jfortune agora atribui probabilidade de cada arquivo, recebe um número aleatório, verifica que o número contra as probabilidades atribuídas, e imprime uma citação. Desta forma, os arquivos maiores terão maior probabilidade de ter um orçamento impresso a partir deles. Você pode dizer a considerar todos os arquivos da mesma forma quando imprimir uma cotação. O mecanismo de produção é mais modular agora com um método que está sendo enviada a todas as saídas. Este método sabe se a saída deve ser retornado como uma string ou está a ser impresso no console.
Tags: Major feature enhancements
Array lists are used again but they are used more effeciently this time around. jfortune now assigns probability to each file, gets a random number, checks that number against the probabilities assigned, and prints a quote. This way, larger files will have a higher probability for having a quote printed from them. You can tell it to consider all files equally when printing out a quote. The output mechanism is more modular now with one method being sent all the output. This method knows if the output is to be returned as a string or is to be printed out on the console.

2004-09-21 01:47
0.5

Tags: Initial freshmeat announcement

Project Resources