Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 466 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 466 Bytes

2048_ai

for comp3211 final project, hkust, 2017fall

TO RUN:

  1. To play the game:
    $ python run.py

  2. To let AI play for you:
    random move:
    $ python run.py -rand
    tree search:
    $ python run.py -nsteplookahead
    expectimax:
    $ python run.py -expectimax

    to change the depth of search, please modify the function argument in game.py, loop()