News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Challenge #10 - Line Of Sight (LOS)

Started by kevin, October 18, 2007, 09:41:52 PM

Previous topic - Next topic

kevin





Challenge #10 - Line Of Sight (LOS)

   
   Line of sight is common problem in Game AI.   So this time your challenge is to calculate if the player can be seen by other characters within a room/world of obstacles.   If  a character can see the player, then this should be displayed some how (perhaps a message, drawn a line between them, or changing colours).    Don't concern your selves with pretty visuals though, the challenge is an AI / Logic one, so experiment and see what methods you can dream up!

  Note: The Characters don't have to move.



Submission

* Submissions can be written in any version of PlayBasic

* Submission can only be accepted in Source Code form only.

* Authors can use external Media (images/music) provided you created the media/and or have permission to distribute somebody else's media or the media in the public domain.

* Zip up your Submissions and please try to keep it smaller than 500K !

* Authors automatically give consent for their submission(s) to distributed and used for promotional purposes via UnderwareDesign.com, PlayBasic code tank.

* Authors can submit as many times as they like.

* To make a submission, zip up your projects source code + media and either post it in this thread, or create your own a thread the Source Codes or Show Case forums and post a link bellow.



Dead Line

Anytime before the next ice age



kevin