Page 1 of 1

PostPosted: Fri Dec 26, 2003 9:14 pm
by aarc_qld
SIM20 is version 2.0 of Sim, a simple yet challenging game. Select lines from the playing grid by tapping on the screen with the stylus. The aim is to force your opponent to complete a triangle with each point on one of the six corners of the grid.

This version of Sim has been rewritten to display correctly on a screen 240+ pixels wide. Download it from

feedback welcome.:)

PostPosted: Mon Dec 29, 2003 7:54 am
by Hark0
I have test your game, and is very interesting...

Lamentably, in my Ipaq (3970), they follow without correctly
drawing the text pictures of the players.... (240x320 px).

I in your place, it would correct that small "bug"...

Greetings, Hark0

PostPosted: Mon Dec 29, 2003 9:12 pm
by aarc_qld
Oops, typing error. The correct address should be :oops:

PostPosted: Tue Dec 30, 2003 7:16 am
by Hark0
Now yes!

Well, I comment my opinion to you on the game.

The game is interesting, but I would make an user interface (GUI) friendlier. You could design your own buttons and options for the game.

Also you could take advantage of to the 100% size of the screen of the PDA. Test adding this command at the beginning of the code:


With this you will obtain that the game works to full screen, although will have to design a button of Escape or End of Game.

But perhaps where more fault your game is in the way of game against the machine.

The Sim behaves of a quite stupid form, and if I am not mistaken (I do not know it), I believe that you have used random instructions for the plays of the Sim.

It adds routines in which the Sim is more aggressive playing. These routines would have to be able to decide which is the line most important to mark in each play, to try to gain some game.

It is my humble opinion, already you will say to me what it seems to you.

A greeting, Hark0

PostPosted: Tue Dec 30, 2003 9:46 am
by aarc_qld
Great. Thanks for comments.
I will try #pragma ... and see what happens. I found Guy?¢‚Ǩ‚Ñ¢s post about it.
Sim does use some AI to select his moves. When Sim starts the initial move is random but you should find that Sim will never complete a triangle unless forced to.. I find Sim a tough opponent over several games.
I don?¢‚Ǩ‚Ñ¢t know how to design my own buttons; is there an article?

PostPosted: Wed Dec 31, 2003 6:32 am
by Hark0
Good, to make your own buttons you can do it of a very simple form.

You draw an image in screen (you can use DrawBitmap(), for example).

Once you have the bitmaps in the screen, create a curl or a routine that the position of pulsation of the pencil detects (penx() & peny()).

Depending on the position where the player taps, you can make your own buttons, if in addition you change the graph "on which it is pressed button"...