Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed the unused matrix init fn

  • Loading branch information...
commit a6f745cdcbe684b517c75b81a1fdc144a6b4772d 1 parent a30d7b4
Robert Campbell authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/aichallenge/collisions.clj
4 src/aichallenge/collisions.clj
View
@@ -2,10 +2,6 @@
(:use [clojure.set :only (difference)])
(:require [aichallenge.ant :as ant]))
-(defn init-matrix [x y]
- (letfn [(row [] (vec (take x (repeat 0))))]
- (vec (repeatedly y row))))
-
(defn collisions [moves]
(reduce (fn [accum move]
(let [next-loc (apply ant/move-ant move)]
Please sign in to comment.
Something went wrong with that request. Please try again.