docs/source/basics.rst @ a587910b3c7d

Disconnect nicely.
author Steve Losh <steve@stevelosh.com>
date Fri, 26 Aug 2011 18:12:13 -0400
parents 2e42d7f29dde
children cb2d6c82204a
Basic Concepts
==============

When you connect to a server you get a ``Bot`` object back.  You can connect with
``(clojurecraft.core/connect {:name "hostname" :port INT} "username")``.

Once you've got a bot you can query it for data about its world and tell it to
perform actions.