Skip to content

ericyd/2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048

Simple port of the game 2048 to test bots

Requirements

  • Python 3 for the python version

To play

  1. choose your language
  2. run python main.py
  3. choose bot or human
  4. if human:
    1. press an arrow key, then "enter" to move
  5. if bot:
    1. select number of games to play
    2. select strategy to use to play
    3. highest game, score, and tile will be displayed at end

Bot strategies must always return a string corresponding to a move: up, down, left, or right.

Ruby

There is a ruby version too. It is not as finished and not very many bot strategies exist. You can find it in the ruby directory

About

Simple port of the game 2048 to test bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published