[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
funny how some things come full circle (was: [not a bug] hooking an AI i
From: |
songbird |
Subject: |
funny how some things come full circle (was: [not a bug] hooking an AI into libncurses |
Date: |
Thu, 17 May 2012 12:05:14 -0400 |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
Johnicholas Hines wrote:
> Hi.
>
> I'm trying to create a modified libncurses so that an AI can "see"
> what is on the screen, and "type" commands. Then I inject the modified
> libncurses into arbitrary curses-using binaries via LD_PRELOAD. The
> goal is to replicate Rog-o-matic -
> http://www.cs.princeton.edu/~appel/papers/rogomatic.html - a 1984
> expert system that played Rogue.
>
> The only way that I've found to hook the AI's "eyes" into libncurses
> is via _tracedmp "newscr". However, that means turning on tracing,
> which puts lots of information out into the trace file, and it seems a
> little clumsy.
>
> Is there a better place to modify to see each new screen?
...
in passing when reading the last 1000 articles here
I come across this question. thought it was rather
interesting and amusing...
as curses was motivated by rogue and then rog-o-matic
came along. :) now we have someone wanting to redo
rog-o-matic and tinkering with the innards of curses.
myself am working on rog-o-matic itself and rogue...
songbird
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- funny how some things come full circle (was: [not a bug] hooking an AI into libncurses,
songbird <=