Skip to content

jiaruonan/2048-rl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048 RL

2048

2048 is a single-player sliding tile puzzle game. The objective of the game is to slide numbered tiles on a grid to combine them to create a tile with the number 2048(math: 2048 = 2**11).

env uses an open-source 2048 game in OpenAI gym interface. Thanks for authors @dsgiitr, @rgal and @yangrui.

RL Algorithm

random_agent.py - Choose a random action to play 2048.

dqn.py - Train a dqn agent to play 2048.

About

2048 Env and DQN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages