create basic function

you can playing offline.

yet:
  history
  network battle