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

AI player for 2048 game using Machine Learning concepts

License

Notifications You must be signed in to change notification settings

codetiger/MachineLearning-2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages