Torusworld
Version: 0.3.1
Copyright: (c) 2006 by Malte Marwedel
Homepage: www.marwedels.de/malte
Use on your own risk.
After reviewing this program, it will be published on my homepage under
the terms of the GPL.
Compiling:
Go into the directory and run make.
This will first delete all
.class files and then call javac
to recreate all files.
make supports the following advanced options: However normally just make should be enough to do
everything what is needed.
Call make clean to delete all .class files
without building the files again.
Call make pure to run javac without deleting the .class
files first. Warning: with some compilers not all files will be
recreated if some already exists.
Call make dirty to ignore
warnings. You should run make clean
before.
Call make iso to copy the file
Chars/Chars-iso8859-15.javaa to Chars.java. (See known problems)
Call make utf to copy the file
Chars/Chars-utf-8.javaa to Chars.java. (See known problems)
Running:
Call make run to start the
program. This executes java
Universe/Universe.
Known Bugs:
None so far.
Known Problems:
Some java compilers need special characters encoded in
uft-8, some other (like Linux/Debian, Solaris) need iso8859-15 instead.
I solved the problem by putting all special characters in one file and
save one version in utf-8 and one in iso8859-15. If some characters
look wrong call make iso (to
use the iso8859-15 file) or make utf
(to use the utf-8 file). Then recompile as described above.
There is a way to call external programs, like a web browser,
unfortunately these commands are not understood by all java compilers.
Until this problem is solved the menu entrys for opening my homepage
and opening a help file are disabled.
Planned/Possible features for the future:
- POV-Ray export of a cycle
- Loading and saving of a world
- Possibly of genetically controlled bunnies and wolves
- Possibly of intelligent behaving bunnies and wolves
- Possibility for bunnies to fight wolves back (eg if there are 10
times more bunnies than wolves on a cell)
- Possibility for wolves to eat each other if they are very low on
food
- Possibility to limit the food for the bunnies (grass needs to
grow)
- Possible to make wolves depend on food or they die faster
- A graphic showing the amount of bunnies and wolves over time
- English GUI
- Faster calculating of the cycles
- Auto cycle
- Analyzing tool to get a statistic how often animals on a given
world die out
History:
- Version 0.3.1 finished on 20.10.2006
- Adding GPL Header to source files
- Version 0.3.0 finished on 16.07.2006
- Renaming the program from "Hasenjagt" to "Torusworld"
- Using of Chars.java for utf-8 or iso8859-15 compatibility
- Replace "spiel" by "surface" in the source. This program is
simply not a game ;-)
- Add copyright header to the source files
- Update Splash Screen: Bunnies instead of rabbits
- Add support for color brightness based on the amount of animals
on each cell
- Version 0.2.0 finished on 03.07.2006
- Program can be exited properly
- Version 0.1.0 finished, meeting all basic requirements
Last changed: 16.07.2006