Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411512 Posts in 69376 Topics- by 58430 Members - Latest Member: Jesse Webb

April 26, 2024, 07:46:22 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Does anyone have a Match-3 AI they can send me?
Pages: [1]
Print
Author Topic: Does anyone have a Match-3 AI they can send me?  (Read 8034 times)
Albert Lai
TIGSource Editor
Level 0
******



View Profile
« on: February 28, 2007, 03:12:28 PM »

I've been meaning to make a Robotron/Match-3 game for forever now, I'm just too lazy to piece together the engine and the AI. The engine (spawn two blocks, increment timer, move blocks down, etc.) I can probably handle myself. The AI, though, is gunna be confusing, and, since the Match-3 part of the game is going to be completely handled by the AI, well, it's a bit of a problem for me.

Preferably it'd be Java or Java-based code, but all object-oriented languages are virtually the same, so it doesn't really matter.

Please? >_>
« Last Edit: February 28, 2007, 03:15:42 PM by Albert Lai » Logged
BenH
Level 2
**


Dirty boy, wash your hands!


View Profile WWW
« Reply #1 on: February 28, 2007, 03:18:01 PM »

A Robotron... match-3 game?

Are you making this in a secret laboratory with bits of old dead games you found laying around?  Wink
Logged

Derek
Bastich
Administrator
Level 10
******



View Profile WWW
« Reply #2 on: February 28, 2007, 03:46:06 PM »

What the HELL is a Match-3 AI? Huh?
Logged
Bebop
Level 0
**

Space Monkey Rocks


View Profile
« Reply #3 on: February 28, 2007, 06:03:14 PM »

Yes I have the same question as Mister YU
Logged
Jimbob
Level 3
***


Not a Detective


View Profile WWW
« Reply #4 on: February 28, 2007, 06:28:29 PM »

If we come up with a computer to play Match-3 then that would be the ultimate in casual gaming... WATCH SOMEONE PLAYING MATCH-3!

You don't even have to click...
Logged

Last release: sync::routine
BenH
Level 2
**


Dirty boy, wash your hands!


View Profile WWW
« Reply #5 on: February 28, 2007, 06:43:01 PM »

Sounds like the perfect game for Real Arcade  Wink
Logged

Albert Lai
TIGSource Editor
Level 0
******



View Profile
« Reply #6 on: February 28, 2007, 07:54:54 PM »

You guys. Judging just because of it's highly strange genre category. Cry

Yeah - a Match-3 AI would be a computer that plays Match-3 somewhat half-way competently.

The premise that I'm working off of is that you, the player, are controlling a ship (or some other vehicle of destruction) in the foreground. In the background is a continuous Match-3 game going on. But you are pissed because people just keep cranking out Match-3 games and people, like the computer, keep buying them and playing them.

Your mission becomes that of thwarting and preventing the computer AI from successfully completing Match-3 by destroying blocks. (Each block will have a center that will be able to be hit). However, the computer really wants to play some damn match three, and blocks begin to spawn with the ability to shoot/increased defense/shift between colors/explode on death/etc/combination of two or three/ etc.
Logged
Derek
Bastich
Administrator
Level 10
******



View Profile WWW
« Reply #7 on: February 28, 2007, 07:58:47 PM »

That's kind of an awesome idea. Shocked

Will there be a space beaver in it?
Logged
Oddbob
Guest
« Reply #8 on: February 28, 2007, 08:41:29 PM »

I want to play this game now!

Thats genius on a stick Grin
Logged
DanDanger
Level 0
**



View Profile
« Reply #9 on: March 01, 2007, 07:16:22 AM »

Hehe great idea!

How about this idea of the top of me head:

Play the game backwards:

1: Start with empty board.
2: Add blocks using the rules for taking blocks away (ie: add 3 red squares vertically , 4 blue ones horizontally etc..)
3: Swizzle the newly generated blocks with a game move (in revers probably)
4: Keep generating blocks and swizzling until your board fills up.
5: Replay the generated moves backwards.
6: Add space beaver.
« Last Edit: March 01, 2007, 07:20:09 AM by DanDanger » Logged
Johan Peitz
Level 1
*


88 mph


View Profile WWW
« Reply #10 on: March 01, 2007, 07:38:08 AM »

Couldn't you do a simple min-max AI? Try setting the current block at all possible places and assign scores to each slot depending on "how good it was". This can be repeated several times to get a simple AI that "thinks ahead". Even if it's mostly for 2 player games like chess etc it works equally well in a single player game if you just find a good way of implementing it.
Logged

BenH
Level 2
**


Dirty boy, wash your hands!


View Profile WWW
« Reply #11 on: March 01, 2007, 09:05:23 AM »

You could have the AI play the match-3 game like I tend to play them; click all over the place until something happens Cool
Logged

Dan MacDonald
The DMac
Level 1
*


Prisoner of the cause


View Profile
« Reply #12 on: March 01, 2007, 10:28:05 AM »

You know, it's almost kind of funny. For how stupidly easy match 3's are to play it's kind of tricky to make the computer play them...
Logged
Alec
Level 10
*****



View Profile WWW
« Reply #13 on: March 01, 2007, 10:32:58 AM »

A* might work.
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic