Giter VIP home page Giter VIP logo

raven's Introduction

Raven Website

Top down 2D game, similar to a Quake-style deathmatch. It is originaly made by Mat Bucklandin his book, "Programming Game AI By Example". This application has been completed for a school project at the Université du Québec à Chicoutimi (UQAC). The course is the following : Artificial Intelligence for Video Games (8IAR125).

Objective

The main objective was to reviewed and improved the IA in the game. We also added features to the game like a new map, new weapons and new game modes (team deathmatch, 1vs1, ...)

Run the game

An .exe is available in the FinalBuild folder. To make it work, you need to download the entire FinalBuild folder which include lua variables, maps, etc. A UI will show up at start : it permits to run different modes and custom your game with custom AI behaviors for example.

Neural Network

The final challenge we solved in this project was introducing a neural network in the game to make a bot leaned how to shoot. We fed our network with criterions that came from the game envrionment :

  • Is the closest enemy visible ? 0 or 1
  • Does the closest enemy has his maximum health ? 0 or 1
  • Does the learning bot has his maximum health ? 0 or 1
  • The current weapon of the learning bot. 6 to 9
  • Does the distance (closest enemy)-(learning bot) is less than 200 ? 0 or 1

The final outuput of the network is the decision of the bot to shoot or not in the direction of the closest enemy. 1 or 0

We decided to expressed our inputs as binary values to make the neural learn as quickly as possible. We didn't want to record hours of gameplay in order to train it with all the possible cases.

Contributors

Name Worked on
Grégoire Boiron Learning with Neural Network, Fuzzification principle, Custom behaviors, Controller
Nguyễn Đức Hậu Add grenade weapon
Thomas Faget Dodge behavior
Florian Rumiel Learning with Neural Network, Controller
Vincent Pera Fuzzification principle
Sacha Vanleenne Team and loot weapons mechanism

raven's People

Contributors

florul avatar graygzou avatar kihansi95 avatar sachavanleene avatar thomasfaget avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.