The goal of this project is to develop a simulator for the drafts of professional sports leagues.
Be the first to post a text review of Open Src Draft Simulator. Rate and review a project by clicking thumbs up or thumbs down in the right column.
version 20070301 A bug was found where you could draft 2 LBs (1 ILB, 1 OLB) when the condition cond LB max 1 was set. To fix this, a position object is now associated with a condition object on creation. Having a position object on the condition object fixes the LB bug, and since a lot of searches for position objects go away, the code has become faster. version 20070303 Tagging has been implemented in this version. You can add tags to a default.tpl by using the syntax NN. Player Name, Position, <tags> tags should be single words separated by spaces. The word might look like 'pass-rush' or '1-gap' or '2-gap' or 'coverage' or 'mobile'. Team rules that show a tag will only select players that have the tag. Examples: cond DE round 1-7 max 1 tag pass-rush cond DT round 2-7 max 1 tag 2-gap cond QB round 1-3 max 1 tag mobile This allows much more detailed specifications of a player's traits and a more detailed draft. Cleaned up naming conventions for the sample files used by builddirs.rb. Tag handling improved. There were bugs when more than 1 tag was implemented. Negation of tags allowed in cond statements. The '!' character in front sets up negation. You can now write things like cond QB round 1-2 max 1 tag mobile !mental cond OT round 1-5 max 1 tag pulls !injury
version 20070301 A bug was found where you could draft 2 LBs (1 ILB, 1 OLB) when the condition cond LB max 1 was set. To fix this, a position object is now associated with a condition object on creation. Having a position object on the condition object fixes the LB bug, and since a lot of searches for position objects go away, the code has become faster. version 20070303 Tagging has been implemented in this version. You can add tags to a default.tpl by using the syntax NN. Player Name, Position, <tags> tags should be single words separated by spaces. The word might look like 'pass-rush' or '1-gap' or '2-gap' or 'coverage' or 'mobile'. Team rules that show a tag will only select players that have the tag. Examples: cond DE round 1-7 max 1 tag pass-rush cond DT round 2-7 max 1 tag 2-gap cond QB round 1-3 max 1 tag mobile This allows much more detailed specifications of a player's traits and a more detailed draft. Cleaned up naming conventions for the sample files used by builddirs.rb. Tag handling improved. There were bugs when more than 1 tag was implemented. Negation of tags allowed in cond statements. The '!' character in front sets up negation. You can now write things like cond QB round 1-2 max 1 tag mobile !mental cond OT round 1-5 max 1 tag pulls !injury
This is a Ruby translation of the original C++/STL Open Source Draft Simulator. It has been developed in Win32 and tested in a Linux environment. It is a compact simulator of drafts (i.e. a mock draft engine) that can handle multiple sports. The configuration code supplied can handle American football, MLB baseball, and NFL basketball drafts. Once configured, the draft can be optimized by the editing of top player lists, draft order lists, and team drafting rules. See the project web page for the directions this project is headed.
This is the initial release of this code.
This is the initial release of this code.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?