The Rabbit Hole

Stephen Olsen  — 7 months, 1 week ago
This project may seem abandoned but I'm actually still working on it. I just am not really making any progress.

I got real time screen capture and input sending working pretty quickly but then it turned out that is not the hard part. I was planning to do a "pure" AI that would watch the screen to infer the gamestate but it's turning out that this is a very hard thing to do. I went down a computer vision rabbit hole for a while but there isn't really any good way to do this and I'd ...
Read More →

Screen Capture

Stephen Olsen  — 11 months, 3 weeks ago
I've just pushed the first bits of code!

high speed screen capture on osx

I'm on osx so pretty much all of this code is osx specific platform layer stuff. I've written some code to hook into an osx api that you can pass a callback function that gets called every time the screen is updated and lets you access the framebuffer. It's not the greatest api, since you pass it a callback which it calls on one of it's own threads so communicating the data back to my main program required a threadsafe buffer ...
Read More →

Hello World

Stephen Olsen  — 1 year ago
Aissac is a first experiment in writing programs that can play video games. The program should watch the screen and submit user input the same way
that a human player would and not have any direct access to the game's internal state. It will be written from scratch in a handmade style with
minimal libraries. This is definitely a program I do not know how to write so much of the experience will be learning and I hope to write about
problems and solutions as they come up.
I chose "The Binding of Isaac" as a first game because ...
Read More →