All Projects → victorqribeiro → Invaderz

victorqribeiro / Invaderz

Licence: mit
Space invaders, but the invaders evolve with genetic algorithm

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Invaderz

Ecosim
An interactive ecosystem and evolution simulator written in C and OpenGL, for GNU/Linux.
Stars: ✭ 382 (-44.31%)
Mutual labels:  game, genetic-algorithm, evolution
Bot Evolution
An interesting display of evolution through neural networks and a genetic algorithm
Stars: ✭ 135 (-80.32%)
Mutual labels:  genetic-algorithm, evolution
Aimandshoot
A neuroevolution game experiment.
Stars: ✭ 201 (-70.7%)
Mutual labels:  game, genetic-algorithm
Classic Pool Game
Classic 8 Ball pool game written in JavaScript
Stars: ✭ 177 (-74.2%)
Mutual labels:  game, genetic-algorithm
Ml Games
Machine learning games. Use combination of genetic algorithms and neural networks to control the behaviour of in-game objects.
Stars: ✭ 247 (-63.99%)
Mutual labels:  game, genetic-algorithm
DeepHyperNEAT
A public python implementation of the DeepHyperNEAT system for evolving neural networks. Developed by Felix Sosa and Kenneth Stanley. See paper here: https://eplex.cs.ucf.edu/papers/sosa_ugrad_report18.pdf
Stars: ✭ 42 (-93.88%)
Mutual labels:  evolution, genetic-algorithm
Thrive
The main repository for the development of the evolution game Thrive.
Stars: ✭ 874 (+27.41%)
Mutual labels:  game, evolution
geneticalgorithm2
Supported highly optimized and flexible genetic algorithm package for python
Stars: ✭ 36 (-94.75%)
Mutual labels:  evolution, genetic-algorithm
shorelark
Simulation of life & evolution
Stars: ✭ 109 (-84.11%)
Mutual labels:  evolution, genetic-algorithm
tiny gp
Tiny Genetic Programming in Python
Stars: ✭ 58 (-91.55%)
Mutual labels:  evolution, genetic-algorithm
Arxlibertatis
Cross-platform port of Arx Fatalis, a first-person role-playing game
Stars: ✭ 602 (-12.24%)
Mutual labels:  game
Ouzel
C++ game engine for Windows, macOS, Linux, iOS, tvOS, Android, and web browsers
Stars: ✭ 607 (-11.52%)
Mutual labels:  game
24a2
🏵 An ultra-minimalist game engine
Stars: ✭ 656 (-4.37%)
Mutual labels:  game
Allsketchs
Processing sketches, in which I have worked in the last years; images, videos, prototypes, experiments, tools, works, concepts... Everything is unfinished, some may not work, When I had no ideas, I would open one to see what it was...
Stars: ✭ 666 (-2.92%)
Mutual labels:  game
Jforgame
jforgame是一个一站式游戏服务器开发框架。包含游戏服,跨服,匹配服,后台管理系统等模块。同时提供大量业务案例以供学习。
Stars: ✭ 601 (-12.39%)
Mutual labels:  game
Awesome Monogame
A collection of interesting libraries/tools for Monogame based game projects
Stars: ✭ 655 (-4.52%)
Mutual labels:  game
Bit Slicer
Universal game trainer for macOS
Stars: ✭ 602 (-12.24%)
Mutual labels:  game
Tetris game
A Tetris Game with AI
Stars: ✭ 600 (-12.54%)
Mutual labels:  game
Smile
Statistical Machine Intelligence & Learning Engine
Stars: ✭ 5,412 (+688.92%)
Mutual labels:  genetic-algorithm
Godot Make Pro 2d Games
A-RPG demo made with Godot, MIT-licensed, from our Godot course
Stars: ✭ 674 (-1.75%)
Mutual labels:  game

InvaderZ

InvaderZ is like the game Space Invaders, except InvaderZ uses the genetic algorithm to mutate the invaders as you play.

InvaderZ

If you want to see a live version of it, it's hosted here.

Alternative link.

You can also add it as an app to your phone (menu / add to home screen), if you wish so.

How to Play

Left arrow or A keys - move the cannon to the left

Right arrow or D keys - move the cannon to the right

Space bar - Shoots;

IF you are on your phone or tablet, use the buttons

About

You are the last hope of the human kind as the defense against the InvaderZ. They are deployed by their mothership with the sole purpose of entering earth's atmosphere. Although they are not a danger for you as an individual, if 5 of them gets through, everything is doomed. You can only shoot one projectile at the time, so be mindful, as you are not getting another shot until the last fired projectile disperse into the space or hits a target. Each InvaderZ has a shape that influence how they move. When a InvaderZ dies, they upload their progress to the mothership, so it can generate more InvaderZ like the ones who did well before. After each 7 generations of InvaderZ, the mothership generates a complete new wave of InvaderZ keeping only the very best of the last past 7 generations.

Genetic Algorithm

A random population of InvaderZ are generated at the beginning of the game.

The fit score of the InvaderZ is how far it made through the earth's atmosphere.

The way they move are directly related to their body shape.

After they die, a new wave of InvaderZ are created by crossing over the InvaderZ with the higher fit score.

The cross over could happen of 6 different forms:

  • First horizontal half of the first parent with the second horizontal half of the second parent.
  • First horizontal half of the second parent with the second horizontal half of the first parent.
  • First vertical half of the first parent with the second vertical half of the second parent.
  • First vertical half of the second parent with the second vertical half of the first parent.
  • Odd genes from the first parent, even genes from the second parent.
  • Even genes from the first parent, odd genes from the second parent.

There's a 10% chance of mutation after each cross over, altering their body shape and so the way they move.

To keep things interesting, after 7 generations, a new wave is created from scratch and only the best of the 7 past generations is keep.

Donations

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].