How to Use Neural Network in Gaming?

Neural Network

Learning Rules

  • Hebbian Learning Rule
  • Perceptron Learning Rule
  • Delta Learning Rule
  • Correlation Learning Rule
  • Out Star Learning Rule

Applications of Neural Network

  • It is used to capture associations or discover regularities within a set of patterns.
  • the relationships between variables are vaguely understood.
  • It is used where the relationships are difficult to describe adequately with conventional approaches.
  • where the volume, number of variables, or diversity of the data is very high.
  • Now, comes on to how neural networks used in gaming…
  • Phase 1
  • Phase 2
  • and Phase 3

THE GAME PHASE

SURVIVE PHASE

  • Features
  • Input data
  • The architecture of neural network
  • Results

Features

  • If, there is an obstacle to the left of the snake then(1 — yes, 0 — no)
  • There is an obstacle in front of the snake then (1 — yes, 0 — no)
  • If, there is an obstacle to the right of the snake then (1 — yes, 0 — no)
  • and For Suggested direction (-1 — left, 0 — forward, 1 — right)
  • 1 — Means we should go in the selected direction.
  • 0 -Means we should choose another one.

Input Data

Architecture of Neural Network

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store