Giter Club home page Giter Club logo

raceai's Introduction

RaceAI

Idk what to show for seminar so i want to make a racing game where the "enemies" would be car that learned how to drive via Genetic algorithm. And i wanted to do it anyway, so 2 birds with 1 stone.

Alt Text

Done

  • Added Matrix Class that basically allows all matrix operations needed for neural networks, i.e Multiply Matrices, multiply be scalar, add scalar, devide, get random matrix etc...
  • Added support for applying any (doube) -> (double) function on every entry of the matrix. (i.e apply activation function).
  • Built a car model, track, trees, envirment in blender and added to game.
  • Added Car Scripts times etc...
  • Added CarAI neuralnetwork, as well as a save/load system.
  • Add Sensors for AI
    • In this case simply raycast that tell the distance from "track borders" ( they are invisisble ).
  • Add Genetic algorithm, and training processs.

Need to do:

  • Possible allow AI to hit other cars in training so they can avoid collitions ( In the inital stage each CarAI has ignored all other cars ).
  • Add Respawns and detect off course position.
  • Possibly add Directions into the AI-Brain, try to use the Neural networks as input, and add on top of it directions.

Made by Michael Trushlin.

Big thanks to the Imphenzia Youtube channel for the tutorials on Making Low Poly models, and tutorial to make a racing game. ( Reference https://www.youtube.com/watch?v=ODVV3eUE5zM&t=0s&ab_channel=Imphenzia )

raceai's People

Contributors

mike-tr avatar

Watchers

 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.