Giter Club home page Giter Club logo

sheepjumpai's Introduction

Sheep Jump AI

Sheep Jump AI

Sheep Jump AI is an AI that plays a game where sheep—each being a neural network—jump to avoid fences and learns using the genetic algorithm. Implementation of the genetic algorithm is a work in progress right now.

Inclusion of fitness, features for more interactivity such as ability to adjust population size, and much more coming soon!

Game is inspired by Google Chrome's dinosaur game.

How The Game Works (Work in Progress)

Currently 10 sheep, each with a neural network attach to them, will spawn and a sheep is eliminated when it hits a fence (sometimes there are sheep that are invincible to fences 👀). If there are 0 sheep left, the game is over. When there are 2 sheep left, a new generation of 10 sheep is spawned. Refresh the website to spawn a new group of 10 sheep.

Tools Used and More

  • Built using p5.js, JavaScript, HTML, CSS, Toy Neural Network Library JS, and Aseprite.
  • Sheep and fence graphics are created by me and background and ground graphics were redesigned from Flappy Bird.

sheepjumpai's People

Contributors

moonsdust avatar

Watchers

Kostas Georgiou avatar  avatar

sheepjumpai's Issues

TODO

  • Add speed slider
  • Add highest score (based on time)
  • Add indication of number of generations somewhere
  • Add number of sheep still alive

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.