Match 3 demo
Posted: Sun Sep 28, 2014 2:27 am
Hello.
I'm developing a new game and I thought I'd share some code with you guys. I created a class for a puzzle quest-like match-3 grids. I thought maybe somebody would be interested so I'm uploading it here.
It's pretty stable. Instructions:
press 'c' to generate a new grid
press 'd' to clear the first set of matches
press 'a' to show a list of the matches currently possible
press keyboard number keys '1' through '6' while hovering over a tile to change it's color
left-click tiles to swap tiles (matches clear automatically after first clear or first swap)
That's pretty much it. Here's a .gif:
Enjoy.
I'm developing a new game and I thought I'd share some code with you guys. I created a class for a puzzle quest-like match-3 grids. I thought maybe somebody would be interested so I'm uploading it here.
It's pretty stable. Instructions:
press 'c' to generate a new grid
press 'd' to clear the first set of matches
press 'a' to show a list of the matches currently possible
press keyboard number keys '1' through '6' while hovering over a tile to change it's color
left-click tiles to swap tiles (matches clear automatically after first clear or first swap)
That's pretty much it. Here's a .gif:
Enjoy.