Skip to content

Deep reinforcement learning for Candy Crush / Bejeweled / Match Three using tensorflow

License

Notifications You must be signed in to change notification settings

tensorgpu/Tensorflow-Candy-Crush-Bejeweled-Match-Three

 
 

Repository files navigation

Environment

  • Python 3.6.4
  • Tensorflow 1.7.1
  • OpenCV
  • PyGame

RUNNING THE CODE

Without GUI

python DQN.py

To graphically show the learner playing Bejeweled, change demo flag in DQN.py:

demo = True   

TO DO

  1. Improve the deep learning result
  2. Improve the utilisation rate of GPU
  3. Enable the change of board size in GUI mode
  4. Revamp the code, all the tensorflow logic was copied from https://github.com/switchball/AI-For-Bejeweled which will take the screenshoot from Bejeweled game. Those code is no longer in use.
  5. Eliminate the need of feeding icon image array into the tensorflow
  6. Create a play script that will play the trained model
  7. Put those flags e.g (demo = True) into the command arguement

THANKS

About

Deep reinforcement learning for Candy Crush / Bejeweled / Match Three using tensorflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%