C Programming Project

Howdy.

I recently got a programming project at school, the details aren't that important I don't think. Basically, as a part of the project, I need to write a program that will play this game "Check Out Line" link - http://gamescene.com/Check_Out_Line.html (requires ShockWave).

If you can't get the game to work, it's basically "The supermarket has twenty check out lines and plenty of waiting. Your goal is to help the different colored shoppers get through the line by clicking on them. Clicking on shoppers that are next to other shoppers of the same color, either horizontally or vertically, will set them free. Additionally, any shoppers of the same color next to them will also be set free. The more shoppers you help with a single click, the more points you will be awarded. As you clear away shoppers, the next in line will move forward, providing you with new groups to click on. As you clear aisles, they will close and all the lines will move to the left. Try to clear as many shoppers as possible in large groups to score the maximum number of points."

 

The better the score the program can get on the game, the better the grade.

 

Any help is appreciated.

 

 

HiOA? What exactly do you want help with?

Post source code as well.

Are you allowed to keep a browser window open?  If so, you might want to check out cheat engine in order to interact with the game by directly interacting with the browsers memory.  Check out this thread on the cheat engine forums for programmatically interacting with cheat engine.  If you wanted to be a smart ass, you could always set the score value to something ridiculously high instead of "clicking" on the carts.

It was 2 months ago. He's probably forgotten about this now.