# $Id: game1,v 1.15 2007/03/05 00:22:19 orts_mburo Exp $ Game 1 Changes - refer to game1.bp for updated game object stats Setup - single player - perfect information - random 32x32 terrain (ground level tiles connected, small irregular static obstacles) - one control center, 20 workers nearby - several resource patches - limit # of workers on single resource patch to 4 - some small mobile obstacles ("sheep") moving randomly Objective - gather as much resources as possible within 10 minutes Challenges - cooperative pathfinding - static/mobile obstacle avoidance Object actions: worker: (terrans/units.bp) move(x,y[,s]) : start moving towards (x,y) with speed s (or max-speed) stop() : stop moving and mining pickaxe.mine(obj) : start mining minerals, need to be close to mineral patch; mining 1 mineral takes 4 game cycles; a worker can hold at most 10 minerals at any given time; at most 4 workers can work on one mineral patch simultaneously (defined in terrans/tools.bp) return_resources(obj) : drop all minerals instantly, need to be close to control center (defined in terrans/tools.bp) How to start the server and gfx client? in orts3/. ./tournament-2007/game1_orts and ./tournament-2007/game1_ortsg (in a different terminal window) Alternatively ./tournament-2007/game1_orts_test starts the server and displays the world using simple 2d graphics which is good for testing purposes. Units will move randomly. Tournament setting: Each program will play k games depending on the number of available computers. k starting positions are generated randomly (starting with a fixed seed that depends on numbers provided by contestants). The player with the highest total mineral count wins this category.