
Patrick B. answered 05/02/21
Math and computer tutor/teacher
Question....
When is the frog allowed to eat the fly?
DO they have to be on exactly the same cell (collision)?
Can they be 1 square apart in any direction?
Can they be 2 squares apart in any direction?
========================================================
click on my picture in my profile and send me an email. I will attach the source code file.
They have done away with the FILES upload
===============================================
Some source code is uploaded to RESOURCES section.
It is too big to fit here...
You will have to do Frog2CatchFly() by copy and paste
THen if neither frog catches the fly, you can move them to new locations
on the board.
It is called FrogNFly.java