From jing_x53@hotmail.com Fri Mar 30 00:34:13 2001
Received: from hotmail.com (f227.law8.hotmail.com [216.33.241.227])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f2TMYC323256
	for <prolog@swi.psy.uva.nl>; Fri, 30 Mar 2001 00:34:13 +0200 (MET DST)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Thu, 29 Mar 2001 14:34:06 -0800
Received: from 209.128.164.202 by lw8fd.law8.hotmail.msn.com with HTTP;	Thu, 29 Mar 2001 22:34:06 GMT
X-Originating-IP: [209.128.164.202]
From: "Jing Xu" <jing_x53@hotmail.com>
To: prolog@swi.psy.uva.nl
Date: Thu, 29 Mar 2001 16:34:06 -0600
Mime-Version: 1.0
Content-Type: text/html
Message-ID: <F227p2YRMAqXBdnJnOv0000fba3@hotmail.com>
X-OriginalArrivalTime: 29 Mar 2001 22:34:06.0456 (UTC) FILETIME=[5D375780:01C0B8A0]
Subject: [SWIPL] help

<html><DIV>I am learning prolog language.&nbsp;I have a project. Here is the request:</DIV>
<DIV>Use prolog language to draw a square grid of 50 by 50 locations to simulate a soccer field, place each team's soccer players in the own quarters at the start of game.&nbsp; Show empty locations with 'o' and filled locations with 'a' for players of one team and with'b' for players of the other team.&nbsp; The ball is shown with an '*'.&nbsp;&nbsp;each player can see the entire field, can kick the ball, can drible the ball, and can pass the ball.&nbsp; Devise strategies for individual players.Simulate the game situation and show the runs.&nbsp;&nbsp;The user can freeze the game or change the&nbsp;position of the ball at will during the game.&nbsp;Instructions that result in leaving the grid or moving on a location already occupied should be avoided.&nbsp;</DIV>
<DIV>How to draw the grid? Can I use write statement? How to set the players on the field? Can I write like this (suppose we have two teams, one is A, the other is B): </DIV>
<DIV>start_pos(1A, 5, 5)</DIV>
<DIV>start_pos(2A, 5, 30)</DIV>
<DIV>.......</DIV>
<DIV>Does anyone have ideas?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jing</DIV><br clear=all><hr>Get your FREE download of MSN Explorer at <a href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>

