An intelligent game agent to play autonomously Android-ColorPhun. This game was played against a trained AI agent by a Human player.
- An Android device or emulator that runs API level 21 or higher
- About 200 MB of internal storage space free.
- Android Studio 2.2 or newer
After installing this game application:
- Tap on (1)CREATE NET OR RESET button. It will create a Neural Network with some initialization twist.
- Then Tap on (2) TRAIN NET which will train this net with 1000 samples randomly generated.
- To test Net performance now press (3) CHANGE COLOR button that will change color and transparency level of above two boxes.
- This game agent will select the colored box that has maximum transparency. Tap (4) TEST game agent will Toast Up its prediction as shown in the image above with a confidence value.
- You may optimize Net performance changing Threshold Value to match appropriate color selection or decesion boundary. Below threshold value will indicate to select LEFT box and above predicted value will be used for selecting RIGHT box.
- Also you can change transparency of these boxes on real time before testing using sliders attached to each box( see image above )
Sample Android Studio project that shows you how to use Deeplearning4J in Android apps. Read full tutorial here: How to Use Deeplearning4J in Android Apps