Jun 23, 2010
Since I had fun making a checkers game previously I decided to make a reversi game, again using J2ME. Unlike checkers, reversi is actually a game that I’m reasonably good at! The game has difficulty settings ranging from Novice to Master and a couple of skins.
May 17, 2010
Recently I’ve had somewhat of a sudoku addiction and decided to make a puzzle generator and solver for my phone using J2ME. The game can generate puzzles with a variety of difficulties from Novice to Master. The game’s solver can even be used to key in and play sudoku puzzles that you find in books, etc.
Mar 22, 2010
I have been working on a J2ME application. There is an instance where a message box appears so as to confirm an action with the user, if the user confirms the action then a subsequent alert may be shown. Whilst in theory this should have been straightforward the application just kept throwing an
Mar 14, 2010
My fascination of sudoku started when I was working down the family store; one of my coworkers would do sudoku puzzles during quiet periods. He showed me how to play and I started to wonder how people would actually create the puzzles. I figured that the easiest approach would be to start with a completed grid and then remove as many numbers as possible.
Mar 4, 2010
I attempted to use the ‘JMUnit’ unit testing library that is shipped with NetBeans for the first time today. I created a couple of simple
TestCaseclasses and a
TestSuitethat combines each of these. However, every time I attempted to load the test suite I was presented with the following exception:
Mar 3, 2010
Switching between displayable objects such as canvases and alerts can become tricky when working on more complex applications. Code can easily become cluttered with excess “display” and “midlet” references, despite that there is usually only one unique display instance.
Nov 26, 2009
With many thanks to Graham over at the Nokia Discussion forums I came across an interesting Wiki article (Platform independent key events processing) which provides a class that tries to determine common non-standard keycodes for a variety of handsets. The second handset that I tested was an LG KS360, unfortunately this detection class was unable to detect the soft key buttons.
Nov 18, 2009
As many of you will be aware, the soft key buttons on mobile phones are general purpose whose purpose change with regard to context. Most popular handsets have two of these directly beneath the screen (one to the left, and one to the right).
Aug 25, 2009
I wanted to have a go at creating my first mobile game so I did some research to find out which tools people are using to do this. I found that games can be made for phones with J2ME (Java 2 Micro Edition) using the NetBeans IDE. Since this is my first J2ME game I just wanted to start with something straightforward. So I created a little game called “Worm” where you just have to collect as many fruit as possible.