Seeking 2D Match 3 Puzzle Sourcecode (B3D)

Miscellaneous Forums/General Discussion/Seeking 2D Match 3 Puzzle Sourcecode (B3D)

To anyone who has a written a simple 2D Match 3 Puzzle Game (ie: Bejeweled) in B3D and is willing to share source. Your assistance in this matter is extremely appreciated.

Not another bejeweled clone!

Not another bejeweled clone!
Maybe...Maybe Not:) Would at least like to start work with a codebase that can manage the gameplay basics.

This may help get you started. These are match 3 type games with source:

Bubble puzzle: http://djes.free.fr/

Drop Swap: http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=javabean207172003233720&comments=no

This guy had a bejeweled clone posted on the old blitzcoder, but the dl doesn't work anymore. Looks like his site is still active though if you want to contact him.

http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=claus11282002161058&comments=no

Thanks trb. I'll hunt the old blitzcoder to see what else I can find.

Not another bejeweled clone!

Title: SpellCards
Concept: RPG Styled 2 Player Match 3 Puzzle in which two Players (PvP, PvCpu) create a Character. Matches (3 or more) of Spell Cards can cast powerup to Player Character or damage on Opponents Character. The Player who eliminates the others Characters Hit Points Wins.

Match-3 games have been done to death.

Do something original.

Match-3 games have been done to death. Do something original.

Title: Chess Match
Concept: Match 2+ Puzzle based on the movements of Chess pieces. Match white against black. Match 3 Pieces > then Pawn activate a Special Power Up.

Anyone for a Match-4 game, perhaps...? ;)

Anyone for a Match-4 game, perhaps...? ;)

Title: Cardz
Concept: Match 3+ Puzzle based on popular matching card games: Poker, Rummy, Tonk, etc.

I understand that there are many match 3 games and the history is very long: tic tac toe, slot machines, card games. However, this genre of puzzle games has proven time again to appeal to non-hardcore gamers due to their simplicity and fun factor.

My true goal is to produce a simple game to promote my Gourmet Pickle Business and WebSite: PickleYourFancy. Although selling Pickles has nothing to do with computer games, developing the game allows me to merge both of my passions.

I achieve two goals: devise a Marketing Device and keep my programming skills sharp. A simple match 3 game will do the trick for now. Perhaps later down the road, I will develop Pickle Tycoon 3D:)

Frank, Blitzmax comes with a bejeweled clone source. It would fit your needs extremely well. You'd just have to do some graphics etc etc.

Btw, you should send Rosie O'Donnel a case of pickles. If she likes them you'll be famous.

Yeah using a match 3 to drive a meta-game is a good direction. Good match-3s do make money, which is why I'm making two at the moment.

gourmet pickle business ???

thats funny coz you were into developing video games a few months ago

gourmet pickle business ??? thats funny coz you were into developing video games a few months ago
That is very true. However, I wasn't making money at it:(

One day, I decided to make some Pickles for fun. Friends and Family really, really enjoyed them. So much so, the next thing I know, they were paying me to make them!

The next step was obvious. I think its funny too. I would have ever imagined I would be selling Pickles in the Land of OZ. Sometimes the door of opportunity isn't shaped like a door at all.

Chroma, thx. But, I don't own BlitzMax:(

I started writing my own Match 3+ Codebase with B3D. I have Tile setup, selection, and swapping working. All I need is an algorithm to calculate matching rows and columns. When I get this working I will release the source to the community. You know I love you guys.

That is very true. However, I wasn't making money at it:(


I can sympathize Frank. I've only finished one game. It was written in darkbasic and I had a publisher. But I pulled out because I was afraid Hasbro would sue me because it was pretty much an asteroids clone. It was called Meteor Blast. It's sitting somewhere on a cd or on a server and I have no idea where.

My new puzzle game is coming along nicely. I can see the light at the end of the tunnel on this one.

Frank, I read a few business magazines in some doctors waiting rooms, so obviously Im an expert at business...

The story you described re:pickles is how a lot of succesful businesses start actually.

As for the match3 game, all you have to do is go through all the columns e.g.
for x=1 to 8
check_column(x)
next

function check_column(num)
for this_colour=1 to 4 ;assuming you have 4 types of tile
for x=1 to 8
if colour_of_piece(num,x)=this_colour
matched_tiles=matched_tiles+1
endif

if matched_tiles>2
;we have a row gentlemen
endif

next
next
end function

the code above isnt perfect, there are still bugs to work out,

Thnx, Slunkar. The algorithm Ive written is very similar, although, yours may be more efficient. Once I get everything working I will release the source!

Not another bejeweled clone!

Title: MahJong Kungfu
Concept: 2 Battle Player Match 3+ Puzzle in which two Players (PvP, PvCpu) select from 8 Kunfu Character each with its own unique set of Mahjong Tiles. Match Punch/Kick tiles to unleash Standard Attacks and Guards. Match (3 or more) of Mahjong tiles unleashes Character Special Attacks/Guards. Save Styles (Macros) to shift tiles in one key press. The Player who defeats their opponent's Character Health Points Wins.

haha Frankie, I love your comebacks.

Sorry I can't give you my match-3 code cos it's still in use. Well actually I've got two versions, the BlitzPlus one which I'm not using for any new games, and the BlitzMax one I using right now. My matching code is a bit more complex (but it needs to be). But what's even more complex is detecting no more moves, that'a a b*tch, esp. when you start to have bonus items etc. Plus you have locked squares etc and also maybe blank squares, and then you have to decide if you allow the player to move a shape whilst other shapes are still falling down or not (starts to get complex with the possible bugs that can be introduced). As with all simple concepts, the more you look into expanding it, the more complex it gets (quite quickly too!)

As long as it's not a community project...knock yourself out Frankie!! =p

As long as it's not a community project...knock yourself out Frankie!! =p
Not a 'shared community project', moreso a 'share with the community' project.

Grey

I agree, as simple as it may be, its starting getting complex as you realize how much the gameplay mechanics can be expanded. I'm having fun though.

How about a match the pickles?

How about a match the pickles?
Key Lime, Jalapeño & Habanero Chili Peppers, Sweet Onion, PepperCorn, and Garlic to be exact.

Frankie...I wouldn't say that the pickles only take a week to mature. For some reason, that is giving me a negative vibe. I also would change the line with the word 'combined' in it. Combined sounds like you're an alchemist trying to turn lead into gold.


PickleYourFancy Brand Pickles are the world's most flavorful Peppered Pickles.



--At PickleYourFancy, we make the most flavorful peppered pickles in the world!

Made fresh to order using only the freshest hand-picked vegetables and natural ingredients - no preservatives. Unlike common brands, PickleYourFancy Pickles are not allowed to stagnate for months.


You used the word 'fresh' twice in the same sentence.

--We handpick only the freshest vegetables and natural ingredients. No preservatives here! Perfectly aged, zesty, zingy, crunchy, blam! You're gonna love em'!

They are shipped immediately after all the ingredients combined and only require one week to mature.



This makes it sould like you put all the ingredients in and ship them out. Then the people have to let the pickles sit for a week before they can eat them.
I'd leave that part out imo.


PickleYourFancy Brand Pickles combine Key Lime, Jalapeño & Habanero Chili Peppers, Sweet Onion, PepperCorn, and Garlic for a Spicy, Tangy, Mildly Sweet Flavor you will not experience anywhere else.


--Our gourmet peppered pickles are a zesty blend of Key Lime, Jalapeno & Habanero Chili Peppers, Sweet Onion, Peppercorn, and Garlic that leave your tastebuds screaming for more.

--We know you're gonna love these pickles! And if you don't love them, we'll give you your money back. Get to crunching!


-----------------------

Also I would contact a gourmet food shop or even a wal-mart or specialty food shop and get your pickles on a store shelf. Word of mouth is a powerful adertisement tool.

man I hate pickles, but I wish you the best of luck with it all because plenty of people sure do love 'em.

Chroma, thanks for the review! PickleYourFancy.com also has an Affliate/Distributor Program to promote the product via Word-Of-Mouth. Still working out some kinks, but, the program is simple and has tools for both online/offline marketing.

Grey Alien, thanks for the support.

Frankie, it's an honor to contribute to your business endeavor. You obviously have the drive to be successful. Far too many people give up to quickly. Glad to see you're not one of them.

You obviously have the drive to be successful. Far too many people give up to quickly. Glad to see you're not one of them.


Yeah, good luck with the pickle thing Frank.

Hey DH! Long time, no see. Hows are things?