summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <leonardomtenenbaum@gmail.com>2018-03-24 00:39:52 -0400
committerGitHub <noreply@github.com>2018-03-24 00:39:52 -0400
commit8d87ac8637f460d98fad7ccd14261137023708ad (patch)
tree7ce4d9e3115bc0bd864185aa489213e2506bccea
parent4801bd34ac44fd28ec71600eaaf91ee9917f7440 (diff)
Added GIF
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index ffcf7a2..0a9651b 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
# Qualums
### About Qualums
+![XOR in Qualums](https://i.imgur.com/PBRGngZ.gif)
Qualums exist on a grid. Every qualum has a certain position, x speed, y speed, and color. At each iteration, every qualum moves to the right by its x speed, and downwards by its y speed. Qualums interact when they collide, i.e. when they both occupy the same grid square at once. It is possible for more than two qualums to collide at once, however the use of these collisions is discouraged, as the outcome will depend on the order in which the qualums were created. Here are the rules for qualum collision:
1. If both qualums are red, they are both destroyed.
2. If one qualum is red, it destroys the other one.