anaseto
anaseto
Yeah, that's a limitation from the coffee-break menu-less approach. Not sure I'll do something about it, because games are very short and one goes through it in one session most...
I'm a little affraid of calling flock via the syscall package, because it's probably not portable on windows, and as I cannot test this platform myself, I prefer keeping to...
Hi! To build the wasm file, you just have to use `GOOS=js GOARCH=wasm go build -o boohu.wasm --tags js`, and then you have to load this file with html and...
Actually, there's one more thing for images, in case you want to change a tile or something: they're generated with a short `gen.pl` script (found in `tiles` folder), which generates...
I had a look at your code: the issue comes from FlushCallback. Actually, it didn't draw the “log” as you did understand. I admit the name DrawLog is quite unintuitive,...
If you grep for DrawLog in Boohu code, you'll find that it's type is `[]drawFrame`. In particular, you'll need the `DrawLogFrame` method.
Not sure what's going one at a glance, but your print uses `%s` instead of `%c` (or `%v`, useful for debugging, and if it's not printable then print it as...
32 is space. For non-alphabetic characters, the key for the tile is not `letter-character` and map LetterNames is used for them, so tile for ` ` the tile key is...
Seems you forgot to use PlayerEvent ?
The `uiInput` type (`TermInput` in your code) together with PollEvent() serves several purposes. 1) It's a common interface for all backends inspired from PollEvent() in termbox and tcell terminal backends....