4 ms·
Interesting thoughts. Thank you for the feedback. The copy-pasting to clipboard doesn't work in the webgl for browser security reasons, but you can download a
by keely 11y ago
Interesting thoughts. Thank you for the feedback.
The copy-pasting to clipboard doesn't work in the webgl for browser security reasons, but you can download a Windows build that has working copy to clipboard. I'll make an OSX build later also. See the link here: http://bit.ly/1V1PiHt http://bit.ly/1V1PiHt
How to make threads operate differently on same code is interesting. I don't really want to do another prefix, because I want to keep the realism of 255 opcodes and I've already used 128. The permutations of new prefix would not fit anymore. I also like the JTI suggestion, but perhaps it doesn't go as far as I would like.
Currently I'm thinking that maybe in addition to program counter, the thread would have another slot where it can define "memory offset". You could state the offset when you start the thread, but it is also modifiable later on, as its in memory. You would call for example "THR @023 010 000", which would essentially mean that for ALL operations for that thread, ALL memory addresses get a offset of +010. I think this is very close to what you suggested with threadID. I think the offset would live next to program counter (FE & FF). Do you think that would work?
I've played TIS-100 and named this game similarly BOX-256 as a homage, since TIS-100 pretty much inspired the whole thing. It's a wonderful game.
Great ideas on the new levels. I will shortly update with more levels and I'll be sure to add your suggestions in to the mix :)
- ekimekim 11y agoYou can't access localstorage or anything for persistence? Can't create a popup with copy-pastable text? Any means of input or output from the game short of screenshots and manual typing at all? The "all operations offset" sounds tricky but interesting. It'd be problematic in a typical usage scenario, but probably work well with my horrible "every line of code runs in a 1-cycle loop on its own thread" style :P
- keely 11y agoI will go for the tricks you mentioned for the input/output in browser, but will take some time to implement. I'll take a step back and think about the threading some more.