Closed eight04 closed 4 years ago
data: https://harddrop.com/fumen/?v115@vhAVLn Code:
const {decoder} = require("tetris-fumen"); const pages = decoder.decode("v115@vhAVLn"); console.log(pages[0].field.str()); pages[0].field.fill(pages[0].operation);
Result:
Error: Cannot fill piece on field
REPL
Is this intended? Quote from README:
Fill piece even if not on the ground, and return the mino as the placed
If floating pieces are not allowed, how does it differ from field.put?
field.put
@eight04 Sorry, it's bug. I fixed it in v1.1.1. thank you.
data: https://harddrop.com/fumen/?v115@vhAVLn Code:
Result:
REPL
Is this intended? Quote from README:
If floating pieces are not allowed, how does it differ from
field.put
?