The Server side for the 2048 and maze project