Skip to content

dave A 2048 AI to work on a high performance computing cluster using CUDA and MPI

License

Notifications You must be signed in to change notification settings

TRex22/dave-A-2048-AI

Repository files navigation

Dave A 2048 AI

This is an AI built on Cuda and MPI. It uses tree search algorithms to play the single player game 2048.

2048

TODO

  • filename cmd param
  • timelimit
  • track sizes
  • cleanup comments
  • save all moves that have been calculated to viz later
  • save initial game state
  • open initial game state to use
  • Compare two moves files so we can check two ais
  • Maybe make sonething that can run through a set of moves and check it makes sense? - probably not just - watch the vid
  • test runner
  • change string to int

Visulizer

  • HTML5 thing
  • open saved files
  • playback move decisions

Gamemanager

  • fix main file
  • use better prng maybe mt19937_64
  • add stopping condition
  • gamestate must contain legal moves internally so we can return it.
  • get this working as a way for the ai to play the game i.e. a function which is the game and allows the ai to inject a move.
  • fix printout to only show one board per state ... its also a bit weird (might be ssh)
  • setup random game state to make proper results
  • add commandline arguments like board size
  • get this to handle any size board !!!!

Serial Ai Tree Search

  • Hook into game and play it as demo
  • Better Demo?
  • make a tree from the gamestates
  • search tree until 2048
  • have backtrack

Cuda Ai Search

  • Show increased size for less time?

  • build a tree on device

  • use array method

  • cudaCheckError on 2048 ifdef code

  • fix commandline params

  • fix curand issues

  • fix tree stats issues

  • check the profile results for more errors

  • make better use of available threads

  • use device properties

MPI Ai Search

  • ????? ;(
  • fix commandline params
  • fix timing correctly

References

Cuda Tree

Other

About

dave A 2048 AI to work on a high performance computing cluster using CUDA and MPI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published