todo.org @ 15fc94698c92

Add a todo file.
author Steve Losh <steve@stevelosh.com>
date Thu, 07 Jul 2011 09:39:30 -0400
parents (none)
children 827c992e7b65
* 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) },
     ...? }