Results 1 to 40 of 52

Thread: Contest 14 - DnD Dice Roller

Threaded View

  1. #1

    Thread Starter
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,398

    Contest 14 - DnD Dice Roller

    Programming Contest – DnD Dice Roller

    For all those who haven't participated in the contest please read the FAQ

    Overview
    Given an input of dungeons and dragons dice commands, have the program execute the commands and show the user the results.

    For example, if I input 1D20 1d% then the program should output:
    Code:
    1D20 - 16
    1d% - 60


    Languages
    C#, F#, JavaScript (vanilla ES5), LUA, Python, Visual Basic 6, and VB.Net

    Deadline
    October 2nd, 2020

    Rules for Contest
    The rules followed will be specific to the contest and not the game.
    • You must submit the source code and include a fiddle(ideone, dotnetfiddle, codepen, etc.)
    • You are responsible for determining the syntax of the dice command
    • Allow for multiple dice commands
    • Include a help menu to assist the user
    • Acceptable dice types are:
      1. 4-sided
      2. 6-sided
      3. 8-sided
      4. 10-sided
      5. 12-sided
      6. 20-sided
      7. Percentage (percentages include increments of 10 from 0 - 90)



    Marking

    Each entry will be judged on the following things.
    • Accuracy - Does the program follow all of the rules?
    • Length - How concise is the submitted code?
    • Execution - How quick did the code execute?
    • Efficiency - How efficient is the algorithm(s) you chose?



    Prizes
    You will get to brag that you won a VBForums contest and I'll also include a special avatar!

    Please submit all entry's to the forum below with the title in the following format "Contest 14 - DnD Dice Roller - [User Name]"
    Contest Entries Forum
    Last edited by dday9; Sep 14th, 2020 at 10:32 AM.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

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