kiennguyen1994 / frozenbubbleplus

Automatically exported from code.google.com/p/frozenbubbleplus
0 stars 0 forks source link

CPU player does not do well when the compressor is enabled #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The fire like a madman approach does not fare well for the CPU when the 
compressor is enabled.

Need to do the following:

1) Verify that the default grid score does not cause the CPU to self-destruct 
after the compressor has lowered.
2) Improve AI to set up followup shots better - i.e., tunnel to advantageous 
shots.
3) Slow down the fire rate!  Since the compressor lowers with a fixed number of 
shots, if you shoot way more shots than your opponent but your lowest bubble is 
at or below theirs, you are shooting way too fast.

Original issue reported on code.google.com by forter...@gmail.com on 15 May 2014 at 7:22

GoogleCodeExporter commented 9 years ago
Per improving the AI, it could do a summation of the best score of the current 
shot and the followup shot, swap them, and re-compute the summation.

Additionally, it could compute the scores given that a shot would clear bubbles 
out of the way for the next shot, and if the followup score is higher than the 
best score, use the suboptimal current shot in favor of the higher scoring 
followup shot.

Also, need to add logic to prefer attaching bubbles to other bubbles and not 
the top of the screen, as they can be knocked free without requiring a triplet 
to clear them.  Every unique bubble color at the top of the screen is a 
mandatory triplet.

Original comment by forter...@gmail.com on 16 May 2014 at 1:41