Skip to content

Shooter game with elements of machine learning made with WPF

Notifications You must be signed in to change notification settings

Kacpu/NeurogameFighters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neurogame Fighters

Shooter game with machine learning elements based on a neural network and a genetic algorithm.

Two fighters with a certain number of lives move around the board and shoot the opponent to survive.

Controls (Player 1, Player 2)

  • Move forward - W, Up Arrow
  • Move backward - S, Down Arrow
  • Turn left - A, Left Arrow
  • Turn right - D, Right Arrow
  • Shoot - Space, K

Technologies

  • .NET 5
  • WPF
  • C#
  • XAML

Setup

To run the application you must have .NET installed.

Then run NeuroFighters.exe in the publish directory or go to the NeurogameFighters directory with the .csproj file and type dotnet run in terminal.

Features

  • Player vs Player mode
  • Player vs AI Mode - AI controlled deterministically or by a neural network if the neural network has been previously created in the learning mode
  • Learning AI mode - population of neural networks trained by the genetic algorithm, the best neural network is saved at the end

Screenshots

PvP Mode

Learning AI mode

About

Shooter game with elements of machine learning made with WPF

Topics

Resources

Stars

Watchers

Forks

Languages