backend for minemania game