This is an obsolete project. Code moved from http://j2mereversi.sf.net
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. A short description is included in the game.
This version of the game runs on devices compliant with the Mobile Information Device Profile (MIDP), for instance cellular phones.
Note: The program has been tested with several real MIDP devices.
I wanted to learn J2ME, so I implemented this small game back in 2002.
Before that I've implemented reversi using Turbo Pascal, later I converted it to C (it was an artificial intelligence project for my University) and later I converted it to Java (J2ME).
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 obsolete tools:
- Java 2 JDK (tested with Sun's Java 2 JDK 1.4.1 for Linux)
- J2ME wireless toolkit (tested with version 1.0.4)
- Jakarta-Ant (at least version 1.5)
- antenna (version 0.9.5 or newer)
- set JAVA_HOME environment variable
- Change the path of
wtk.home
in.ant.properties
file. - ant
If you use obfuscator, the size of the jar file will be smaller. Currently the build process (antenna) can use two obfuscators: ProGuard (tested with versions 1.4, 1.5, 1.6) and RetroGuard-1.1.
- set
JAVA_HOME
environment variable - Copy (or symlink)
proguard.jar
orretroguard.jar
into WTK's bin directory. - Change the
obfuscate="false"
toobfucate="true"
inbuild.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, 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)
If you have ant installed you can run the program using ant, instead of the run.sh (run.bat) scripts.
- set
JAVA_HOME
environment variable - Change the path of
wtk.home
in.ant.properties
file. ant run
With Ant you are also able to test the program with microemulator https://sourceforge.net/projects/microemulator/ :
- set
JAVA_HOME
environment variable - Change the path of MICROEMULATOR_HOME in
.ant.properties
file. ant microrun
Note: Please use at least version 0.3.1 of microemulator. Parts of the program may not work even with the current version.