Screenshots | Phones | Download | Compile | Run | Authors
jtReversi
This is a simple board game. It is also known as othello.
If you don't know the rules, just browse the web, you can find hundreds of
reversi games.
This version of the game runs on devices compliant with the Mobile
Information Device Profile (MIDP), for instance cellular phones. The program
has been tested on several real MIDP devices.
Why?
I wanted to learn J2ME, so I implemented this small game. First time (years
ago) I've implemented reversi using Turbo Pascal, later I converted it to C
(it was an artificial intelligence project for my University). Now I
converted it to Java (J2ME).
Screenshots
The obligatory screenshots (and animations) can be found here.
Wap
Starting from version 0.82, the program can be downloaded through WAP. Use
the following address (in your mobile phone) to install the latest version of
the program
http://j2mereversi.sourceforge.net/wap/. Do not use abbrev. like
j2mereversi.sf.net, it may not work!
Traditional download
Donwload the jad and jar file, if you want to test the program on your
phone. Download the .tar.gz source, if you want to compile.
If you want to know more, go to the sourceforge summary
page
The game is precompiled, so if you want only to play with the game, you don't
need to compile it. If you really want to compile, you'll need the followings:
- Java 2 JDK (tested with IBM's Java 2 JDK 1.3 for Linux)
- J2ME wireless toolkit (tested with version 1.0.4)
- Jakarta-Ant (tested with version 1.4.1)
- antenna (version 0.9.5)
- Change the path of
wtk.home
in .ant.properties file.
ant
How to compile with obfuscator?
If you use obfuscator, the size of the jar file will be smaller. Currently
the build process can use only two obfuscators: ProGuard version 1.4 and RetroGuard version 1.1
- Copy (or symlink) proguard.jar or retroguard.jar into WTK's bin
directory.
- Change the obfuscate="false" to obfuscate="true" in build.xml
ant
NOTE: RetroGuard-1.1 is not working for me with J2SDK 1.4.1 for Linux
NOTE2: ProGuard creates smaller jar file for this project.
If you want to try the program on your computer, you'll need:
- J2ME wireless toolkit (tested with version 1.0.4)
- Go to the bin directory
- Change the path of WTK_HOME.
- ./run.sh (Windows users have to use run.bat instead of run.sh)
How to run with Ant?
If you have ant (and antenna) installed you can run the program using ant,
instead of the run.sh (run.bat) scripts.
- Change the path of
wtk.home
in .ant.properties file.
ant run
Using microemulator
With Ant you are also able to test the program with microemulator:
- Change the path of MICROEMULATOR_HOME in .ant.properties file.
ant microrun
Note: Please use at least version 0.3.1. The latest versions of jtReversi
were not tested with microemulator, so it may not work.
Testing on Phones
If you want to use the program on your phone, you have several
possibilities:
- Download the program using WAP. If your phone supports this, this is
the easiest method.
- Download the program to your computer, and upload it with your
device-specific program using cable or infra-red connection or
bluetooth.
Licensing
GPL
András Salamon / Jataka
Ltd.(asalamon@users.sourceforge.net)
Richárd Szabó/ Jataka Ltd. (richard_szabo@users.sourceforge.net)