Skip to content

K2InformaticsGmbH/egambo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Electronic Game Board

Bot programming platform for turn based games.

To connect from the outside you can use JSON over TCP with SSL. https://github.com/K2InformaticsGmbH/tcpjson Follogwing there is a list with the supported commands:

 {"action": "login", "user": "player3", "password": "1"}
 {"action": "login", "user": "player3", "password": "abcd12345678"}

 {"action": "login", "user": "roman", "password": "qwerty123456"}


 {"action": "change_credentials", "user": "player3", "password": "", "new_password":1}
 {"action": "change_credentials", "user": "player3", "password": "", "new_password":"1"}
 {"action": "change_credentials", "user": "player3", "password": "", "new_password":"qwerty123456"}
 {"action": "change_credentials", "user": "player3", "password": "qwerty123456", "new_password":"abcd12345678"}


 {"action": "new_game", "type": "connect_four", "opponent": 1}
 {"action": "new_game", "type": "connect_four", "opponent": "bota"}
 {"action": "new_game", "type": "connect_four", "opponent": "bot1"}

 {"action": "new_game", "type": "connect_four"}
 {"action": "cancel", "game_id": 440240984908769341}

 {"action": "play", "game_id": 1283834649321306522, "position": 2}

Sample response format:

 {'msg': {'msg': {'aliases': [79, 88], 'board': '                                      X   ', 'etime': 1503393496, 'gravity': True, 'height': 6, 'id': 1270407400766756753, 'movers': [1, 3], 'periodic': False, 'run': 4, 'scores': [0, 0], 'status': 'playing', 'width': 7}, 'type': 'status'}} 

About

Bot programming platform for turn based games.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published