Qwick Baseball Javascript Prototype (11 July 2016)


By Robbee Thomas (@RobbeeWrite)

For those who know something about pen and paper baseball or perhaps Strat-O-Matic, this is some basic code that shows an outcome based on which number being used. For each update, a random number from 1-100 will be posted, here are the results for the numbers:





1-17Strikeout
18-27 Base On Balls
28-39 Ground Out
40-51 Infield Fly
52-67 Outfield Fly
68-85 Hit
86-92 Double
93-94 Triple
95-100 Home Run


There will be more additions to this code down the road. Here is the code here for you to copy and meddle with. Have a super day.