1.3 The Code
1.3.1 Shared
1.3.2 Client
1.3.3 Server
8.14

1.3 The Code🔗

The code is in this repository on GitHub.

I’m using the Racket programming language, "a dialect of Lisp and a descendant of Scheme". I’m fairly new to Racket and functional programming, so this is a learning experience for me.

The design of Robot World is changing as new ideas emerge - details are being be worked out on the fly. The code described here is a snapshot of an evolving design.

This code is presented in a bottom-up order. Of course, it wasn’t built that way - it reached this point incrementally and iteratively.

    1.3.1 Shared

      1.3.1.1 Location

      1.3.1.2 Direction

      1.3.1.3 Entity

      1.3.1.4 Request

      1.3.1.5 Occupant

      1.3.1.6 Reply

    1.3.2 Client

      1.3.2.1 Connection

      1.3.2.2 Bot

      1.3.2.3 Step

      1.3.2.4 Tactics

      1.3.2.5 Wandering

      1.3.2.6 TCP Client

      1.3.2.7 Viewer

      1.3.2.8 TCP Viewer

    1.3.3 Server

      1.3.3.1 Sequence

      1.3.3.2 Board

      1.3.3.3 Places

      1.3.3.4 Engine

      1.3.3.5 Background

      1.3.3.6 Draw

      1.3.3.7 Setup

      1.3.3.8 Agent

      1.3.3.9 Interval

      1.3.3.10 Dispatcher

      1.3.3.11 TCP Server