added emits to server for makemove
added actions