Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Busy Weekend

Sign in to follow this  


It was a pretty busy weekend. I was able to get most of the match logic done. I'm getting some weird things happening in the CheckMatchRight and CheckMatchUp functions. If a gem is on the top border, or the right border, it incorrectly flags one of the gems below it as matched and that one is removed. There error doesn't exist in CheckMatchDown and CheckMatchLeft, which are nearly the same logic (copied and slightly modified from CheckMatchRight actually). So I'll be cleaning that up tonight and try to get it working correctly. Once I get the match code working correctly I'll post a movie.

I'm still dreading the logic that searches the entire board to try to detect a possible move so that it determines whether the game is over or not. I've put it completely out of my mind until I get to it. I'll likely do it last.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!