# $Id: game4,v 1.3 2008/05/10 03:42:26 orts_mburo Exp $ Game 4 (TANK DESCRIPTION INCOMPLETE, WILL BE UPDATED SOON) Changes - refer to game4.bp for updated game object stats Setup - two players - perfect information (apart from simultaneous actions) - 64x48 unobstructed terrain - for each player: 20 siege tanks and 50 randomly positioned marines occupying either the left or rightmost quarter of the map. Units are diagonally symmetric to the opposing player. - some small mobile obstacles ("sheep") moving randomly Objective - Destroy as many opponent units as possible within 5 minutes Challenges - small-scale combat - unit group management - handling heterogeneous groups - adversarial/cooperative pathfinding Object actions: marine (terrans/units.bp): move(x,y[,s]) : start moving towards (x,y) with speed s (or max-speed) weapon.attack(obj) : attack object (terrans/weapons.bp) stop() : stops moving and attacking tank: move(x,y[,s]) : start moving towards (x,y) with speed s (or max-speed) weapon.attack(obj) : attack object (terrans/weapons.bp) stop() : stops moving and attacking weapon2.attack(x,y) : create explosion of radius 15 centered on (x,y), dealing out splash-damage switch() : begin transition between sieged/unsieged modes (no effect if already switching) weapon/weapon2 are enabled/disabled based on the current mode public variables "mode", "switch_pos", and "switch_time" provide full information about a tank's transition state How to start the server and gfx client for this game: in orts3/. ./tournament-2008/game4_orts and ./tournament-2008/game4_ortsg (twice in different terminal windows) Tournament setting: Round-robin style. Each pair of players will play k games where k >= 1 depends 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 outcome of each game is evaluated as follows: When all units of a player are destroyed the game ends instantly. The player who destroyed the most opponent units wins.