Trax

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Trax

Post by Michael Vogel »

Hi,
just added a small solitaire game to my homepage, you can download it at http://mr.vogel.googlepages.com/Trax.exe.

It's also fun playing the real game, so if you like it you maybe think to buy the original puzzle trax or the even more difficult tantrix!

Hope you'll like it,
Michael :)
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

Works fine! I like it, but I would advise you to turn on Sound+Stars by default. Why is it off?

BTW, either, I don't udnerstand the game, or I'm too stupid... :P
PB 4.30

Code: Select all

onErrorGoto(?Fred)
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Looks incredible!
Would you mind telling us how you realised it?
Did you use a windowed Screen or is it GDI-only?
Thanks for sharing...
Windows 7 & PureBasic 4.4
User avatar
IceSoft
Addict
Addict
Posts: 1683
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Hope you will get no Copyright problems.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
didier69
User
User
Posts: 15
Joined: Wed Apr 30, 2008 11:24 am
Location: Lyon (France)

Post by didier69 »

Ouhaou a trax game ! Will you publish the sources :) ?
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

Very charming indeed! Image

PS: Backgrounds stolen from MacOS Aqua wallpaper, w00t! Image
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Re: Trax

Post by ricardo »

Michael Vogel wrote:Hi,
just added a small solitaire game to my homepage, you can download it at http://mr.vogel.googlepages.com/Trax.exe.

It's also fun playing the real game, so if you like it you maybe think to buy the original puzzle trax or the even more difficult tantrix!

Hope you'll like it,
Michael :)
Image

I know your file are clean, but NOD32 are prompting. Take note.
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

IceSoft wrote:Hope you will get no Copyright problems.
I just asked and got the permission - it was relatively simple :D
The owner of the worldwide rights to Trax and even the inventor of the game agreed to make it available to the public!

Michael
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

AND51 wrote:Works fine! I like it, but I would advise you to turn on Sound+Stars by default. Why is it off?

BTW, either, I don't udnerstand the game, or I'm too stupid... :P
Ok, you're right (about stars and sound), maybe I'll change it...
Your're not right about your brain capacity - I'm just too lazy to write a long description of the game - please have a look at the website of trax...
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

milan1612 wrote:Looks incredible!
Would you mind telling us how you realised it?
Did you use a windowed Screen or is it GDI-only?
Thanks for sharing...
I don't use any Openscreen commanda and just drawing (nearly) everything into an image which is displayed within the standard window...

This works fine if no high numbers of frames per seconds are needed (so the stars are done brute force otherwise they would be already too slow)

The only problem I have with this method, I was not able to write all functions I need for images for now (fast antialiased lines etc.)

Michael
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Trax

Post by Michael Vogel »

ricardo wrote:I know your file are clean, but NOD32 are prompting. Take note.
Thanks for that - and you're right...

...my programs are clean indeed :wink:

Everytime I choose a new exe packer I already know that it won't take long until a virus checker will think this is a virus...

When I have some time, I'll check the actual UPX if the new -lzma option will help to shrink the programs as small as other exe packer...
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

@Michael: the game doesn't seem to allow placement of a tile at each of the possible locations, only some of them. Here's one example (on a 4x4 grid).

Image

If the origin of the grid was at the top-left and the "X" was at position (2,1), shouldn't placement also be allowed at (1,1), (4,1), (0,2), (4,2), (0,3), and (0,4) as well? Each of these placements would match and keep the size within a 4x4 grid.
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

Demivec wrote:@Michael: the game doesn't seem to allow placement of a tile at each of the possible locations, only some of them. Here's one example (on a 4x4 grid).

Image

If the origin of the grid was at the top-left and the "X" was at position (2,1), shouldn't placement also be allowed at (1,1), (4,1), (0,2), (4,2), (0,3), and (0,4) as well? Each of these placements would match and keep the size within a 4x4 grid.
Hi,
just to be sure, that everything is clear:
- the stack on the left side is just for being able to plan your moves
- the single tile right of the stack is the one you can try to put on the table
- for doing that it must be located beside a tile already placed on the table (except move #1 :)) following these rules...
1) NORMAL MOVE
the tile must be used as it is seen (without rotating or fliping the tile) - if possible
2) FORCED MOVE
if there is an empty space which has two neighbors with the same color ending there, this space MUST be filled immediately (that's what is seen on your screen shot)
3) NO MOVE ALLOWED? DO WHAT YOU WANT
if nothing else is possible, you can flip or rotate the tile as you like (then all possible orientations are seen instead of a single one)

Hope that helps!

If anyone is able to write the rules in a way that they will be understood easier - please do it!
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Bravo! Michael, it is great. :o :D
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Michael Vogel
Addict
Addict
Posts: 2797
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

IceSoft wrote:Hope you will get no Copyright problems.
Got no copyright problems, but problems with Google -- seems that they have also a virus scanner which thinks that my programs have malicous content, so they have disabled my homepage :cry:

I tried to get contact to the google team, but all my emails are redirected to NULL :evil:

I'm not sure if the site will ever be enabled and I have no power to create all the pages again...

Michael
Post Reply