CONNECT
FOUR GUIDE TO CREATING RecordTrackerAI01 DESCRIPTION In this
guide, you will create an AIAgent that focuses on tracking
its win, loss and tie record. It uses
this data to display a message every 100 games but this could easily be used for
other reasons. For example, if an AI
were losing most games after 10 games played, it could switch to another
strategy all together to see if it has more success. STEP 1 Let’s start with all of the small details filled in for us. Copy and paste the following code into
Eclipse. Take a minute to make sure
you are comfortable with everything here.
We want to track the wins, losses and ties.
STEP
3 (OPTIONAL)
|
|||
|