https://github.com/citiususc/citius-invaders
An old-style HTML5 arcade game for teaching genetic algorithms to kids, made with PhaserJS
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.5%) to scientific vocabulary
Keywords
Repository
An old-style HTML5 arcade game for teaching genetic algorithms to kids, made with PhaserJS
Basic Info
- Host: GitHub
- Owner: citiususc
- License: mit
- Language: JavaScript
- Default Branch: master
- Homepage: https://citiususc.github.io/citius-invaders/
- Size: 5.08 MB
Statistics
- Stars: 25
- Watchers: 3
- Forks: 8
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
CiTIUS Invaders
An old-style arcade game to learn evolutionary algorithms and genetic algorithms.
About
This game was created to explain the basic concepts of evolution and genetic programming to college students. The game starts with 4 invaders that mate themselves. Each invader has different genes that codify their behavior, such as speed, probability of changing direction, size, color... During evolution time, the invaders start mating in order to create new invaders that inherit the attributes of their parents. Best invaders (invaders with higher fitness) have more probability to be selected for mating. The fitness of an invader corresponds with the number of evolutions that it has survived. This mechanism allows the invaders to improve their behavior against the player over time by learning the best set of features that allows them to survive.
If you want to learn how the game is implemented, Siraj Raval made a great analysis of the game, which is available on Youtube:
How to play
Controls are very easy. Just use left/right arrow to move your robot and space to shot. The goal is to keep the number of invaders below 100, otherwise the game is over. There are always at least 4 invaders (elitism), which are protected with blue shields. The player earns 1 point for each evolution time.
Code
There are two versions of the game, a python version built on top of the SGE Game Engine and a HTML5 version made with Phaser. You can play the HTML5 version here: https://citiususc.github.io/citius-invaders
Authors
This game was made by Tomás Teijeiro and Pablo Rodríguez Mier because why not?
The music was composed by the amazing Constantino Antonio García Fernández, who, despite being involved in thousands of projects and activities, still finds time to help his friends with these stupid things.
Screenshots
Main menu

Game screen

License
This project is licensed under the terms of the MIT license.
Owner
- Name: CiTIUS
- Login: citiususc
- Kind: organization
- Email: citius@usc.es
- Location: Santiago de Compostela
- Website: https://citius.gal
- Twitter: citiususc
- Repositories: 49
- Profile: https://github.com/citiususc
Centro Singular de Investigación en Tecnoloxías Intelixenteas da Universidade de Santiago de Compostela
GitHub Events
Total
Last Year
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| pablo.rodriguez.mier | p****r@u****s | 51 |
| T. Teijeiro | t****o@u****s | 41 |
| Pablo Rodríguez Mier | p****r@g****m | 15 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
