aboutsummaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/TODO.org b/TODO.org
index e5f17e0..c70be0b 100644
--- a/TODO.org
+++ b/TODO.org
@@ -6,6 +6,21 @@
*** DONE Put van on random lane
*** DONE Add multiple vehicles on different lanes
*** TODO Ensure vehicles don't overlap
+
+Possible algorithm:
+
+#+begin_src
+when car goes off-screen
+go through all lanes
+if lane has space, roll a die
+if lucky
+ pick an inactive car
+ activate that car on the lane
+#+end_src
+
+What happens if there are no cars on screen!?
+ => Force it?
+
** TODO Detect collision with other vehicles
** TODO Add weapon to player car
*** TODO Make weapon a power-up