# TDL2048-Python-Demo **Repository Path**: devilmaycry812839668/tdl2048-python-demo ## Basic Information - **Project Name**: TDL2048-Python-Demo - **Description**: 根据网友实现的《2048》游戏的TDL解法,使用python语言重写的,性能是难以与原版C++实现所比较的。本库意义在于代码逻辑的示范,并没有太多实际运行性能的价值。这里所使用的TDL算法是参考README中的文献所实现的,但是需要注意这里并没有严格实现,仅仅是实现了论文中部分的算法。 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.cnblogs.com/devilmaycry812839668/p/16614515.html - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-22 - **Last Updated**: 2022-08-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: 不再维护的项目 ## README # TDL2048-Python-Demo #### 介绍 根据网友实现的《2048》游戏的TDL解法,使用python语言重写的,性能是难以与原版C++实现所比较的。本库意义在于代码逻辑的示范,并没有太多实际运行性能的价值。这里所使用的TDL算法是参考README中的文献所实现的,但是需要注意这里并没有严格实现,仅仅是实现了论文中部分的算法。 #### 主要功能 Temporal Difference Learning for Game 2048 (Python-Demo)

Basic framework for training 2048 after-state agent. Including environment, n-tuple network and isomorphic feature builder, TD(0) training process. #### 相关论文文章 [1] Szubert, Marcin, and Wojciech Jaśkowski. "Temporal difference learning of n-tuple networks for the game 2048." Computational Intelligence and Games (CIG), 2014 IEEE Conference on. IEEE, 2014.

[2] Wu, I-Chen, et al. "Multi-stage temporal difference learning for 2048." Technologies and Applications of Artificial Intelligence. Springer International Publishing, 2014. 366-378.

[3] Oka, Kazuto, and Kiminori Matsuzaki. "Systematic selection of n-tuple networks for 2048." International Conference on Computers and Games. Springer International Publishing, 2016.

#### 原C++实现版本地址 [https://github.com/moporgic/TDL2048-Demo](https://github.com/moporgic/TDL2048-Demo)