Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,825 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,013 people online right now. Registration is fast and FREE... Join Now!




Baseball Engine

 
Reply to this topicStart new topic

Baseball Engine

JBrace1990
11 Aug, 2008 - 06:11 PM
Post #1

D.I.C Regular
Group Icon

Joined: 9 Mar, 2008
Posts: 476



Thanked: 22 times
Dream Kudos: 350
My Contributions
in short, there's a baseball engine i've developed for a baseball simulation game i'm working on...

I need eyes to look at it and let me know if ANYTHING is weird, like 3 balls = a walk, or something... it is by National League rules, meaning the pitcher hits as well (albeit badly)....

I also need people to look at it and let me know if anything is off, like too many strikes, too many innings (report anything more then 12 innings please), too high of a score, Etc.... just anything that makes it look like it can't be a valid baseball game...

the engine is located here: http://ultimatebaseballsim.com/engine_mysql.php

thanks will go out to anyone who checks it and provides some feedback =)
User is offlineProfile CardPM
+Quote Post

King8654
RE: Baseball Engine
11 Aug, 2008 - 08:56 PM
Post #2

D.I.C Head
Group Icon

Joined: 4 Mar, 2008
Posts: 92


My Contributions
mad tired, but checked it out, and it looks very cool m8

noticed this early on

Terrance Lanier hits a ball. It is caught by the 3B. (3rd out, should have inning over after)
Lenard Velazquez walks up to bat. ---> looped extra time, prob increment on wrong side
The inning is over.
User is offlineProfile CardPM
+Quote Post

Adam111
RE: Baseball Engine
11 Aug, 2008 - 09:10 PM
Post #3

New D.I.C Head
*

Joined: 11 Aug, 2008
Posts: 1

Seems to be all good, i didn't see any doubles. what program you using for it?
User is offlineProfile CardPM
+Quote Post

JBrace1990
RE: Baseball Engine
11 Aug, 2008 - 09:38 PM
Post #4

D.I.C Regular
Group Icon

Joined: 9 Mar, 2008
Posts: 476



Thanked: 22 times
Dream Kudos: 350
My Contributions
thanks King, and I have noticed that... it's because of the way I set up the statements..... Edited it out now...

and it's PHP... i'm gonna have a frontend of a Flex website for it though, it'll simulate several games, then store them all in a database...
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 03:17PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month