Results 1 to 10 of 31

Thread: A PGD Challenge without Scoring and Judges?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    Look up corewar if you'd like some inspiration on a simulation environment. If you can't absolutely ensure that each 'bot' would have equal execution time etc then having the bots compete one after another against some form of fixed environment would be worth considering.

    Due to task schedulers in modern OSs it's not even possible to ensure that single threadded sequential execution would give equal time to each.

    The corewar way is to essentially have a VM where it can ensure that the same number of instructions are run for each bot. If you write any utility functions available to the coders in the same VM then you can give a count of VM instructions for each one.

    I'd reccomend using REMobjects Pascalscript, you can pry open the VM part and insert counters, break out of execution, store any internal register values etc

    -----

    If you're thinking much higher level then perhaps a server/client setup with a provided client framework, in a similar concept to 3rd party bots connecting to a quake server. Perhaps a maze or other such task for the bots to complete.
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Well we are doing our first Game Jam style Challenge now!

    http://www.pascalgamedevelopment.com...-Your-Command!

    Want to give it a try?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3
    Quote Originally Posted by phibermon View Post
    Due to task schedulers in modern OSs it's not even possible to ensure that single threadded sequential execution would give equal time to each.
    This shouldn't be an issue with CPU that has 2 or more cores. We can't let bots use multithreading. And if it's an issue, we can also let them calculate things in turns.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •