mobile gaming article
, since quite a few Codename One developers use it to write games we decided to accept the offer and I wrote an article titled: “Writing casual games In Java for mobile devices”. In this article we create a simple poker game mockup that is fully functional (although it doesn’t include betting, AI or networking), but you can drag the cards to have them replaced and click the deck to deal new cards.
The game took 270 lines of code (including imports,
its a bit larger now since I commented the code quite a bit
), it took me roughly 2 hours to write that code.
The issue will be published in the 19th of August but you can
preorder it here
. If there is major interest in this I can expand the demo a bit more to include additional features.
As a teaser I took a very unique approach to writing the game, rather than use graphics I used components and leveraged the resolution independence of Codename One as much as possible.
Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended…. If that is the case please let us know via the comments section below.