Comments (5)
from ifvms.js.
GlkOte's output of NBSP and regular spaces isn't working. The last regular space of each line is lost, so the pieces are only 6 spaces wide rather than 7. If you can add white-space: pre-wrap
to the styles (to #gameport maybe?) then this problem is fixed. pre-wrap is supported even by IE8 so there shouldn't be any issues with adding it to the base GlkOte styles. With pre-wrap you wouldn't need the NBSPs any longer, but I know you don't like to change what isn't broken, so there's no real need to.
When I've added pre-wrap it seems to work fine to me. Are you certain the JSON is wrong?
from ifvms.js.
Of the five lines, four start with nine spaces but the middle one starts with ten spaces. That's wrong (as compared with nfrotz's output) -- the left edge of the piece should be flat.
Remapped to ASCII:
.........#######
.........#######
..........######.
.........#######
.........###.###
Not showing the last space on a line -- you're right about that! I'll fix it. But that's an error on the right edge.
(Or is this a RNG difference, where the two interpreters reliably start up selecting different pieces? Hm! Let me fix my error and I'll see how it looks.)
from ifvms.js.
(Or is this a RNG difference, where the two interpreters reliably start up selecting different pieces? Hm! Let me fix my error and I'll see how it looks.)
It's random, I've seen different rotations in the one terp after restarting. Its choices did feel a little unbalanced to me, but maybe that's just a perception bias of some kind.
It prints an extra space in the middle row, whatever the rotation. Which is weird, but our terps are working fine.
from ifvms.js.
Yeah, it was all glkote all along. Sorry about that.
from ifvms.js.
Related Issues (20)
- Support timed input HOT 1
- Use more ES6 features
- Save/Restore broken in some Z3 games
- Small autorestore issues HOT 2
- Support more Infocom HOT 3
- Use ifvms without Glkote-term HOT 3
- Many games don't work properly because the window is too long
- Text input does not work with Polish letters
- zvm.js fails on Windows w/node v9.2.0 HOT 2
- @set_font 0
- An in-range update of yargs is breaking the build 🚨 HOT 1
- An in-range update of browserify is breaking the build 🚨 HOT 1
- Need help upgrading from 0.1.0 HOT 2
- More spec fixes
- Update API to match Quixe HOT 3
- zvm ">command prompt" HOT 3
- Issues with hitchhiker-invclues-r31-s871119.z5 HOT 1
- Autorestore formatting issue
- Use Glk input style for input and echoed input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ifvms.js.