Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  American football simulation  (Read 1884 times)
0 Members and 1 Guest are viewing this topic.
Offline supermancc0386

Junior Newbie





« Posted 2009-12-01 18:49:52 »

I'm working on developing an American Football simulation engine. Right now, everything is still being designed on paper.  So far, I can see easily how I can create a team, and create individual players with their ratings. I can even see creating the stadiums and weather conditions to affect how they play.  My next big hurdle is figuring out how to simulate playing a game. 

I have been looking around for a tutorial but can't find one for this type of thing.

The only way I can think of to start this, is to create a coach class which would make all of the in game decisions based on how the game is going. If I do that, I would pretty much need to create plays, and a playbook.
This seems like an awful lot to generate some numbers. I feel like maybe I am over thinking this?  I mean games like Tecmo Super Bowl III for the SNES had decent season simulation so I feel like there must be an easier way?

Any help pointing me in the right direction would be greatly appreciated!

Thanks.
Offline Alric

Junior Member


Projects: 1



« Reply #1 - Posted 2009-12-01 19:43:49 »

Sounds like if anything you're under thinking it. As people talked about in a RTS thread, don't assume that because something was done 20 years ago, it is simple.

I'm no expert on American Football, but I can't think how you're possibly going to simulate a match well without having a set of plays?

Offline broumbroum

Junior Member





« Reply #2 - Posted 2009-12-05 00:21:19 »

My next big hurdle is figuring out how to simulate playing a game. 
You should read some about AI design... in a few words, you need to firmly define what are the individual actions--namely "states"--a player would do, the less actions the more reactive would the AI look like at a first glance. Actions are localized through some UID (unique identifier). A second important bunch of definitions is the so-called "inputs" each individual player would receive--actually in a FIFO order--those are e.g. other team is holding the ball, an opponent is very close to the player, etc. but in a really "live" fashion so that you think it is in the real game.   Those "inputs" also have their UID.

With those 2 sets of UID, try to find out a game strategy/tactic. THE BEST WAY IS TO OUTPUT A LOGICAL SCHEME that tells when the player changes from state A to state B and how it goes from B to A back, thus depending on inputs (notice that the fewer inputs, the lesser smart the player can react).
 Cool
From such a scheme, there are various wayd of implementing it... I do prefer a sequential digital design which offers best performance result over complexity of the schemes (like robots would be designed).
 Cheesy

::::... :..... :::::: ;;;:::™ b23:production 2006 GNU/GPL @ http://b23prodtm.webhop.info
on sf.net: /projects/sf3jswing
Java (1.6u10 plz) Web Start pool
dev' VODcast[/ur
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (22 views)
2014-07-24 01:59:36

Riven (20 views)
2014-07-23 21:16:32

Riven (17 views)
2014-07-23 21:07:15

Riven (20 views)
2014-07-23 20:56:16

ctomni231 (48 views)
2014-07-18 06:55:21

Zero Volt (44 views)
2014-07-17 23:47:54

danieldean (35 views)
2014-07-17 23:41:23

MustardPeter (38 views)
2014-07-16 23:30:00

Cero (53 views)
2014-07-16 00:42:17

Riven (52 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!