Results 1 to 19 of 19

Thread: Coding Challenge

  1. #1

    Thread Starter
    Addicted Member makster246's Avatar
    Join Date
    Dec 2004
    Location
    nottingham
    Posts
    187

    Coding Challenge

    I have decided to start a Vb challenge for anyone who wants to participate
    It gives me something to do in my spare time when i get home from work.

    ....................................................................................................
    - I also want to compete in this challenge so i wont be judging them, it will be open mike night with a submissions thread being made in game demos (after all the pathfinder is a game) .

    - between the 22 april and 28 april, it would be nice if you could check out the submissions and choose one you would like to win (also if possible give a reason why you think its worthy of your vote, rather than "hes my buddy")
    ...................................................................................................

    - i am going to use the Path Finder.
    - the idea:
    - load a picture onto the screen (doesnt have to be black and white
    but can be if you wish.
    - Then create a random starting point and random goal point.
    - Traverse the whitespace on the image.
    - simple as that - use any coding meathod u wish (directx,bitblt,standard)

    Note: dont you just love mazes.
    ....................................................................................................

    Any questions, feel free to post.
    and i will run all the code samples at the end of the month against a preselected image and i will give the times for each samply before we start vote.

    Hope you enjoy.

  2. #2
    Addicted Member
    Join Date
    Aug 2005
    Location
    York
    Posts
    197

    Re: Coding Challenge

    Pathfinder was done in Contest Number 2....

  3. #3

    Thread Starter
    Addicted Member makster246's Avatar
    Join Date
    Dec 2004
    Location
    nottingham
    Posts
    187

    Re: Coding Challenge

    I wouldnt know as i have not been a member of this group that long, or at least i never used to look at the coding contest section.

    and also please do not confuse this with an official coding contest, this is just a small challenge for anyone who wishes to take part.

  4. #4
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    Re: Coding Challenge

    With Pathfinder, your score was based on the number of times you called out to query about if a wall was NSEW, as well as time from start to finish. What you propose is a mazerunner, whereby you can detect the walls immediately around you directly by reading the bitmap.

    How would you be scored? Time alone might not be the best criteria.

  5. #5
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Coding Challenge

    sounds good
    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

  6. #6

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Coding Challenge

    He posted about our current "no contests" situation, but we've been told that it's ok for you guys to do this, as it is a 'challenge' rather than a 'contest'.

  8. #8

    Thread Starter
    Addicted Member makster246's Avatar
    Join Date
    Dec 2004
    Location
    nottingham
    Posts
    187

    Re: Coding Challenge

    Thank you alot owner/moderators.
    I wasnt trying to step on any toes when i started this post..
    Thank you for letting this continue.

  9. #9

    Thread Starter
    Addicted Member makster246's Avatar
    Join Date
    Dec 2004
    Location
    nottingham
    Posts
    187

    Re: Coding Challenge

    Quote Originally Posted by NotLKH
    With Pathfinder, your score was based on the number of times you called out to query about if a wall was NSEW, as well as time from start to finish. What you propose is a mazerunner, whereby you can detect the walls immediately around you directly by reading the bitmap.

    How would you be scored? Time alone might not be the best criteria.

    sorry, i will try to make this clearer.

    Everyone who votes will have there own criteria (hopefully), of what makes a great program (thats why its always so hard to please customers).
    So hopefully, rather than the gurus automatically winning because of super efficent code. it gives everyone a chance, When you vote on someones code it would be nice if you could give a few reasons if possible why you like it.

    e.g. graphically pleasing, innovative design, well laid out code, well documented code, innovative use of coding principles, speed, comedy value.
    .................................................................................................... ..

    for instance i was giving some serious though to my entry into the challenge, i wasnt planning on going for speed. i was going to have my "dot" (pathfinder terminology) amble around the maze/picture, steadily getting more angry and changing colour, the longer he is in there and the more deadends he comes across.
    .................................................................................................... ...


    I also do of course know people will just want to vote for the freinds which is perfectly allowed, but it would be nice if people could vote fairly. after all alot of people really try hard with the programming.


    Rob
    Last edited by makster246; Mar 25th, 2006 at 12:26 AM.

  10. #10
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Coding Challenge

    so this is like maybe a pacman enviornment, the guy moves around a world like that, and finds the end. So he can "walk" to the end. Not bassed on speed?
    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

  11. #11

    Thread Starter
    Addicted Member makster246's Avatar
    Join Date
    Dec 2004
    Location
    nottingham
    Posts
    187

    Re: Coding Challenge

    Yep your totally right, speed in this will be in no way the be all and end all deciding factor, like i said above a few people may cast there vote purely on speed. but i am hoping this will get some imaginative ideas and people will shy away from voting for speed. Afterall the algoritams for a very speedy pathfinder are on vb forums.

    .Some people may very well want to make it a simple fast pathfinder and that would be great. It is great seeing how people tweak there code to squeeze every last drop of speed out of it.

    The idea is to make a program (the core being a pathfinder)

    have a start point, a finish point. (path cannot be predetermined) and a NPC moving around to try to get to the finish.
    The key to it is "no player interferance".

    A pacman kind of look,feel would actually be kind of cool..


    Mental note. steal damasterjo's idea..LOL
    Last edited by makster246; Mar 25th, 2006 at 02:47 PM.

  12. #12
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Coding Challenge

    oh well i already made a mental note to steal yours
    any way also, what prevents people from starting now? or can they?
    what are the rules for the codding itself? i like the idea and look foward to particapating...
    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

  13. #13

    Thread Starter
    Addicted Member makster246's Avatar
    Join Date
    Dec 2004
    Location
    nottingham
    Posts
    187

    Re: Coding Challenge

    Nothing to stop you starting now, the contest started on the 22/03/06, but the deadline is 28/04/06, so people will still have a chance to start if they read this post a bit late.
    Because of the nature of the challenge there are not really any coding rules. Rules tend to stop people getting carried away, but that is what this challege is looking for.

    Sadly though because of the way people will be voting it would be advisable for all coders, to write this program in VB6, there are no rules against using other languages, however you will probibly lose some peoples votes who cannot Run/understand your code.
    ~~~Indentation and comments are not a requirement for voting~~~

    Although i still havent started this yet, i was planning on starting 31/03. but anyone wanting to start/ or has already started that is fine.

  14. #14
    Addicted Member
    Join Date
    Aug 2005
    Location
    York
    Posts
    197

    Re: Coding Challenge

    Hmmmmm......So its the winner is basically chosen on voting....?

    Cheers.

  15. #15
    Fanatic Member damasterjo's Avatar
    Join Date
    Nov 2005
    Location
    In front of my Comp DirectX7 EXpert
    Posts
    827

    Re: Coding Challenge

    any thoughts on some sort of prize? Or just some brownie points...
    Software languages known:
    Qbasic - TI-Basic - Liberty Basic - Visual Basic 6
    Software API's known:
    Directx 7 and 8
    Internet languages, in the process of learning:
    HTML - JAVASCRIPT - PHP - CSS - MYSQL - AJAX

  16. #16
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Coding Challenge

    It's only a 'challenge', so I think brownie points will have to be all I'm afraid.

  17. #17
    Member Visual Evolution's Avatar
    Join Date
    Jun 2006
    Posts
    32

    Re: Coding Challenge

    mMmMm Brownies .. Anything with the word Brownie in it makes me happy. Im up for the challenge

  18. #18
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Coding Challenge

    VE - well, you get the booby prize that's for sure.... 1 for dredging up an old post... and 2 for "entering" challenge on said post that closed over 2 (almost 3) months ago...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  19. #19
    Member Visual Evolution's Avatar
    Join Date
    Jun 2006
    Posts
    32

    Re: Coding Challenge

    Dam im too late .. NoOoOoOo . We should have another one

Posting Permissions

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



Click Here to Expand Forum to Full Width