• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

This topic is now archived and is closed to further replies.

tashco

Neural Nets in Games

7 posts in this topic

Does anybody know the current state of play for embedding neural networks within games? Has anybody played around with this recently? Mark Allen Lead Programmer Tashco Studios http://www.tashco.com
0

Share this post


Link to post
Share on other sites
I''d advise you to look at the Game AI page .

As for my personal experience, I am currently working on an game AI toolkit and the only uses we have found for NN was to model trust between NPCs or imitating evaluation functions for strategy planning.

Be reading you,
David
0

Share this post


Link to post
Share on other sites
Without actually having played around with it I will just make a general comment on NNs.

A lot of people has over the years and have found them very hard to use in solving general purpose problems - including games.

The main problems is that NNs have to be trained and preferable by the the developer because runtime training by very well go bad and cause the NN to act stupidly. Furthermore, training and using and NN is quite CPU consuming compared to rule based AIs (including state machines).

Assuming that we are unable to simulate the number of neuron in the human brain, NNs are mainly good at solving problems that is somewhat simple in nature while being hard to define using rules. Campared to hard coded AI routines thay are often not so efficient.

The same arguments generally goes for genetic algorithms.
At a GDC ''99 roundtable about Game AI NNs were discussed and all current developers (as far as I remember) did not use NNs because it was to unwieldable.

Beyond this point there is a problem with NNs: They are not very reliable. This means that they usually act like a black box which makes the hard to test and debug before a release. So my suggestion to you is: Do not use NNs for games!

B.Sc. Jacob Marner
Graduate Student of Computer Science, The University of Copenhagen, Denmark.
http://fp.image.dk/fpelisjac/rolemaker/


0

Share this post


Link to post
Share on other sites
I work with Neural Nets in a real world environment, we use them for fraud detection on telephone networks.

http://www.fraud-solutions.com/fraudsolutions/index.html

I''ve recently been considering NNs for game development and I think there could be uses for them but I''m not sure how successful they would be. The application I''ve been considering is NPCs in an online RPG which have the ability to learn. To implement an NN successfully you need to narrow down the problem domain, there''s no point in trying to have an NPC NN which controls every aspect of the NPC''s interaction with the world around it. E.g. what you could do is implement the NN so it performs the decision making for combat, you would need to train the NN up to a certain point but allow the NN to keep learning after the basic training, then the more battles the NPC takes part in the better the NN will respond to actions in battle.

I think I can get this to work, what I doubt I can do is make it feasible due to processing power, you would not be able to process more than a few NPCs on a single PC.

Cheers
Nigel
0

Share this post


Link to post
Share on other sites
I have reason to make a NN that learns... processing power really isn''t too big of a barrier. I just need to know what to do with the dang neurons once I code them! How do I make it learn something other than simple math?

--------------------


You are not a real programmer until you end all your sentences with semicolons;

Yanroy@usa.com

Visit the ROAD Programming Website

0

Share this post


Link to post
Share on other sites
One of the major problems of using ANNs for anything is figuring out how to present the data to the system in the most usable form.

Should you feed every character and his position into the net? Should you use a 2D input grid that is fed threat values, or a threat/xpos/ypos neuron triplet for each enemy?

I think that once an effective form is discovered, ANNs do their job efficiently and effectively.
0

Share this post


Link to post
Share on other sites
Hi,
I am working on NN, Its for a game called TNW. ( check it out at http://www.fortunecity.com/skyscraper/application/1003
and http://tnw.ezain.com
Neuronet is a good thing to add in a game. But to much of it can slow down the game dramatically. The number of calculations will be to much for the computer to handle and it can slow down internet gaming. But some NN in a game can be very usefull. Creatures will be more realistic and would react like real. NN is the future, so keep working on it
cya
0

Share this post


Link to post
Share on other sites