-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Hubert Taler edited this page Apr 12, 2017
·
1 revision
Welcome to the HelloWarsCore wiki!
we can make game logic pluggable by making a general interface to implement:
- IsMoveValid (getting move and current board, returning bool)
- MakeMove (getting move, current board, returning board as it appears after move)
- IsWinningMove?
Arena Runner:
- asks arena server for current board
- asks contender for next move
- loads game logic plugin, asks if move is valid
- if so, retrieves new board from plugin
- updates arena server with new board after move
- repeat