Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 774 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 774 Bytes

MachineLearning-2048

AI player for 2048 game using Machine Learning concepts

Install Requirements

pip install -r requirements.txt

Conclusion

After training the agent for 100K episodes, the agent was able to choose the most optimal move everytime. I didn't try the same for 4x4 settings as it is going to take days to get the same output.

The Test still gets into infinite loop in some games. Meaning the agent needs still more training.

References

  1. Double DQN code reference: https://github.com/rlcode/reinforcement-learning
  2. Reinforcement Learning Basics: https://www.youtube.com/watch?v=2pWv7GOvuf0
  3. Original 2048 Game: https://github.com/gabrielecirulli/2048
  4. Valuable discussion: https://github.com/matthiasplappert/keras-rl/issues/38