Closed paulsonnentag closed 7 years ago
Error message when walking against the upper or lower edge of the game field.
Note: Only happens with the upper edge and lower edge, left right edge don't throw any errors.
The problem is probably on our side. I'll look into it later.
Fixed in #17 in branch "resource-collect"
if (game.tiles[nextY] &&
game.tiles[nextY][nextX] === 2) {
return {}
}
There is another problem. I haven't implemented my effect wrapper for the game component correctly. In choo effects only trigger side effects and actions. They don't mutate state directly. I'll fix this shortly
Game Engine
Gameplay
[ ] set marker[ ] goto point