Marbles anyone?

Advanced game related topics
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Marbles anyone?

Post by Baldrick »

A couple of weeks back my 13 y/o neice has turned up from school armed with her latest woodwork project in the form of a little block of wood with holes drill all over it to hold marbles for a little game called Solitare marbles. After losing an hour or so on this silly little thing & seeing as it was the same week as I had resigned from my job & I am now unemployed, I figured I may as well have a go at making this little thing in PB, especially seeing as I have never really written anything in the way of a game before. So, here is my 1st effort @ writing a game. Hope you enjoy. :D

Click to Download exectutable

Click to download source
Last edited by Baldrick on Sat Sep 15, 2007 8:43 am, edited 1 time in total.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

could you provide a version which is not packed with
any sort of EXE-Packer ?

My Antivirus denied access to such.......
SPAMINATOR NR.1
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Sorry about that rings. Try it now, I have recompiled without using upx.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

three left - like most times..

nice little Game Image

really good solution with the drag&drop, and the marking point in between..

I would like if the game would be a little more generous regarding the drop-position.

is the background the Original Board your neice made?

the other grafix could be a little bit pushed, perhaps slightly different marbles,
perhaps some animated shiny-effekt, nicer Font, etc...
oh... and have a nice day.
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Thanks Kaeru, glad you like it.
My original idea to make this game was as a bit of a joke to torment my little neice.... :oops:
I would like if the game would be a little more generous regarding the drop-position
Easy fixed, I will do this in the next day or so.
is the background the Original Board your neice made?
No it's not, it is my attempt to try and make the board look a little more what I would call " oldskoolish", lol
I am intending to use my neices original board as a background, but she will be the only person with a copy of that 1. :D


the other grafix could be a little bit pushed, perhaps slightly different marbles,
perhaps some animated shiny-effekt, nicer Font, etc...
Too true. The current fonts are simply PB defaults, so I will do something about this. As for the marbles, this image is just the best I could find & hack up with M$ Paint without too much trouble. ( I definately would never make a living as a graphic artist!! ) I might see if I can do something about that also.
User avatar
Comtois
Addict
Addict
Posts: 1432
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

Nice game. I have tu push 'A' key to exit the game. I have a french keyboard (AZERTY).
Please correct my english
http://purebasic.developpez.com/
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Small update.
1. Increased drop region tolerances ( please let me know if you manage to get any illegal moves to work )
2. Fancied up the fonts a little
3. Added English "A" which is "N" on french keyboard to quit list
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

You can also download a version at purearea.net.

http://www.purearea.net/pb/CodeArchiv/G ... litaire.pb

I cannot wait to try your version as I love this game!!! :D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

That link is a nice little game also.
1 difference though, with mine, you can jump in a cross formation also which your link game does not allow. :)
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

you can jump in a cross formation also
what do you mean "cross formation"?
oh... and have a nice day.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Perhaps he means diagonally?
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Oops, Sorry, yes Derek is correct I mean in a "X" pattern as well as in a "+" pattern.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

OH - I see...
didn't recon it before, because to the old rules I know this is illegal...

I think we should look up the rules somewhere..
I know this game for 30 years know, never heard it was legal to jump diagonally.
oh... and have a nice day.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

I never even tried to jump diagonal because, like Kaeru, I thought it wasn't allowed. Will have to try your game again and see if I can beat it now. :)
Baldrick
Addict
Addict
Posts: 860
Joined: Fri Jul 02, 2004 6:49 pm
Location: Australia

Post by Baldrick »

Interestingly, like Kaeru I have known this type of game for more than 30 years & I was taught that diagonal was an allowable move. Maybe I have had it wrong all these years.... :lol:
Mind you, getting the diagonal moves to work was probably the most difficult part of this project, until I found a little snippet here in the forums to return angles from Cpl. Bator which made my life much easier.
fwiw this project is also done 100% with native PB. No API used whatsoever. 8)
When I am completely happy with the way it runs I will also probably drop the source here somewhere for you too.
Post Reply