Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / [Wip] match, player bot

Author
Message
Preben
AGK Studio Developer
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 20th Jan 2015 16:59
Doing a match 3/4 type game, and making a player bot that are able to play for you. it will be used on the help page to show how to play the game.

Its been pretty great having this bot when testing.

Perhaps i should make a secret combination to activate it in the real game









best regards Preben Eriksen,
george++
AGK Tool Maker
16
Years of Service
User Offline
Joined: 13th May 2007
Location: Thessaloniki, Hellas
Posted: 20th Jan 2015 17:49
Excellent job!
Is there any special algorithm for deciding what type of tiles will come after? Or are they selected random?
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 20th Jan 2015 20:56
Very nice indeed.
This type of game play is very popular. (working on one similar)
The 6x9 grid is looking good, and you handled the view modes well.
Cheers


Using AppGameKit V1 Tier 1
Preben
AGK Studio Developer
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 21st Jan 2015 09:25
george++:

The function use the same algo as the "hints" that show the next possible move for the player ( and flash the sprite ), but you can say that its kind of random as it will use the first possible move available that it spots. The wip here is making sure it picks a move that gives the bot the best possible score , so it should pick a 4 match before a 3 match etc.

Conjured Entertainment:
Thanks, It actually just swap the x,y on everything that display inside the grid ( to give this landscape view ), so it was pretty easy to make this way. But i kind of like the way the gems drops from the left to the right instead of from the top to the bottom. when you try the game you will see that it actually gives you a hole new type of game play, its really different when you play and the gems drop from the left.

Looking forward to see your match game

best regards Preben Eriksen,

Login to post a reply

Server time is: 2024-04-24 14:45:25
Your offset time is: 2024-04-24 14:45:25