15fc94698c92

Add a todo file.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 07 Jul 2011 09:39:30 -0400
parents cc621ecb4d27
children 5b451989308a
branches/tags (none)
files todo.org

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/todo.org	Thu Jul 07 09:39:30 2011 -0400
@@ -0,0 +1,66 @@
+* TODO Wrap all IO in io!.
+* TODO Wrap class mutations in io!?
+* TODO Use Clojure's ugly keyword arguments.
+
+  (defn dothreads! [f & {thread-count :threads exec-count :times
+                         :or {thread-count 1 exec-count 1}}]
+  ...)
+
+* TODO Use some pre/post conditions.
+* TODO Make records for common pieces of data.
+** TODO Locations
+** TODO Entities
+** TODO Chunks
+* TODO Relayout the data structures.
+** TODO Servers
+
+   { 'localhost' world1,
+     '222.222.111.232' world2,
+     ... }
+
+** TODO World
+
+   { :entities {},
+     :chunks {}, }
+
+** TODO Entities
+
+   { 123 {},
+     234 {},
+     ... }
+
+** TODO Entity (ref)
+
+   { :eid 123,
+     :location location,
+     ...? }
+
+** TODO Location
+
+   { :x 100.0,
+     :y 100.1,
+     :z 80.3,
+     :stance 101.0,
+     :yaw 11.0,
+     :pitch 81.0,
+     :onground true }
+
+** TODO Chunks
+
+   { [1,23,12] (ref? chunk),
+     ... }
+
+** TODO Chunk (ref?)
+
+   { ? }
+
+** TODO Bot
+
+   { :world world,
+     :eid 123,
+     :connections { :in in-conn,
+                    :out out-conn },
+     :packet-counts { :in (atom 123),
+                      :out (atom 234) },
+     ...? }
+