Since someone (finally!) wrote a game for U, I hacked up a quick framework which allows easy testing.

Here's an example of it in use with the connect4 script:

newserv@moo:~/test$ lua
Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
> require "testframework"
> require "connect4"
system: game registered: connect4
> startgame("connect4")
system: game lobby initiated: connect4/1
system: new player (connect4/1): 1
system: new player (connect4/1): 2
system: game commencing: connect4/1
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: -----------------
replyall: connect4/1:  A B C D E F G H
reply: 1: Your turn, enter move:
> i(1, "a")
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: |4,4X| | | | | | | |
replyall: connect4/1: -----------------
replyall: connect4/1:  A B C D E F G H
reply: 2: Your turn, enter move:
> i(2, "b")
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: | | | | | | | | |
replyall: connect4/1: |4,4X|8,8O| | | | | | |
replyall: connect4/1: -----------------
replyall: connect4/1:  A B C D E F G H
reply: 1: Your turn, enter move:
>