Added game functionality

Added:
1.All needed functionality