From: SourceForge.net <no...@so...> - 2003-05-19 05:02:27
|
Feature Requests item #734758, was opened at 2003-05-08 12:04 Message generated for change (Comment added) made by cobraa1 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=353248&aid=734758&group_id=3248 Category: BZFlag Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jeremiah (cobraa1) Assigned to: Tim Riker (timriker) Summary: Scripting proposal Initial Comment: While I was surfing the Internet, I stumbled across the Lua programming language, which can be used to add scripting to BZFlag. I found this language in a scripting tutorial on GameDev.net. This language could be used to add scripting capabilities to BZFlag, which could be used for defining flags, adding AI, or the ability to create bots to BZFlag. -CobraA1 References: http://www.lua.org/ http://www.gamedev.net/reference/programming/features/ lua/ ---------------------------------------------------------------------- >Comment By: Jeremiah (cobraa1) Date: 2003-05-19 00:02 Message: Logged In: YES user_id=25311 he he - with functional languages, it's relatively easy to create other languages. I could create an brainf*ck interpreter in lua, and do the AI in brainf*ck, and drive the others crazy :D. I don't have access to the Whitepace webpage - their webpages seem to be down - but from what I hear, it's a puposefully obfusicated language. Sorry, but I don't like that idea - I'd like to be able to put clean, readable code in my AI. I don't plan on doing too many bot contests with it. I'm thinking more along the lines of a single-player mode, like in Spectre. If you want obfusicated code, write an interpreter for your favorite obfusicated language ;). ---------------------------------------------------------------------- Comment By: Dave Brosius (dbrosius) Date: 2003-05-11 00:21 Message: Logged In: YES user_id=66596 If folks started easily writing bot code, i could imagine bot contests ala the now ancient 'core wars'. In this case, code obfuscation would be important. I din't think lua has enough support for this, I think 'whitespace' would be a better choice. see: http://compsoc.dur.ac.uk/whitespace/ ---------------------------------------------------------------------- Comment By: Michael Hoffman (michaelh20) Date: 2003-05-08 20:21 Message: Logged In: YES user_id=619820 It's an interesting idea and probably really a good idea for some such thing in the long run. I'm not sure it will really save the work needed be done to make effective bots -- would make it more flexible I suppose, rather than hard coding such efforts in c++. And I suppose if we had some bot / lua expert it would really help :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=353248&aid=734758&group_id=3248 |