#22152: "Add Turn Undo"
무엇에 대한 보고입니까?
무슨 일이 발생했나요? 아래에서 선택하세요
무슨 일이 발생했나요? 아래에서 선택하세요
같은 내용에 대하여 이미 등록된 보고가 있는지 확인해주세요
그렇다면, 이 보고를 추천해주세요. 추천을 가장 많이 받은 보고부터 우선적으로 처리됩니다!
# | Status | Votes | Game | Type | Title | Last update |
---|
상세한 설명
• 만약 오류 메세지가 화면에 나타났다면, 그 오류 메세지를 복사해서 붙여넣어 주시기 바랍니다.
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 무엇을 하고 싶었고, 무엇을 했고, 무슨 일이 일어났는지를 설명해 주십시오
• 브라우저가 무엇입니까?
Mozilla v5
• 현재 설정된 언어가 아니라 영어로 표시되는 문장을 복사 후 붙여넣어 주세요. 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 해당 문장이 번역 본부에서 표시됩니까? 만약 그렇다면, 번역된 지 24시간이 경과했습니까?
• 브라우저가 무엇입니까?
Mozilla v5
• 최대한 쉽게 그 뜻을 이해할 수 있도록 당신의 제안을 정확하고 명료하게 설명해 주십시오.
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 브라우저가 무엇입니까?
Mozilla v5
• 당신이 막혔을 때 화면에 무엇이 나타났습니까?(검은 화면? 게임 인터페이스? 오류 메시지?)
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 브라우저가 무엇입니까?
Mozilla v5
• 어느 규칙이 BGA 서비스에서 존중되지 않았습니까?
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 게임 리플레이에서 룰 위반을 확인할 수 있습니까?만약 그렇다면, 몇번째 수에서 룰 위반이 있나요?
• 브라우저가 무엇입니까?
Mozilla v5
• 당신이 하고 싶었던 게임 내 행동이 어느 것입니까?
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 이 게임 행동을 하기 위해 무엇을 시도했습니까?
• 당신이 이것을 하려고 했을 때 무슨 일이 일어났습니까?(오류 메시지, 게임 상태창 메시지 등)
• 브라우저가 무엇입니까?
Mozilla v5
• 어떤 부분에서 문제가 발생 하였나요(문제가 발생했을 당시 어떤 지시가 내려졌었나요)?
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 당신이 게임 행동을 하려 했을 때 무슨 일이 일어났습니까?(오류 메시지, 게임 상태 막대 메시지, ...)
• 브라우저가 무엇입니까?
Mozilla v5
• 디스플레이 문제를 설명해주세요. 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 브라우저가 무엇입니까?
Mozilla v5
• 현재 설정된 언어가 아니라 영어로 표시되는 문장을 복사 후 붙여넣어 주세요. 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 해당 문장이 번역 본부에서 표시됩니까? 만약 그렇다면, 번역된 지 24시간이 경과했습니까?
• 브라우저가 무엇입니까?
Mozilla v5
• 최대한 쉽게 그 뜻을 이해할 수 있도록 당신의 제안을 정확하고 명료하게 설명해 주십시오.
I think an turn undo feature would be helpful. I have accidentally tapped the wrong bubble and tried to sell cacao before I harvested it. Teotihuacan has it as a option the can be turned for the players that want it or left off for those that do not want it. /this seems like a good solution for a feature that only some players may want.• 브라우저가 무엇입니까?
Mozilla v5
보고 이력
But "As a rule of thumb, on BGA we advise you to not undo moves." (en.doc.boardgamearena.com/BGA_Undo_policy)
It's the first time I program a game : I don't want to complexify the code at this time.
Maybe for a futur release...
Meanwhile, a refresh (F5) seems to be a solution.
I don't want to loose control of the programming by implementing a not recommended functionnality.
But I keep in mind this request : I hope that players don't expect a 100% perfect game in the first release.
An UNDO would be easy to program for this state.
But an UNDO on tile actions is very inconvinient : on each action click, animations are launched, scores are updated, notifications are written, database is updated and all players view action in real time.
Are players having to click confirm buttons too many times?
Are players intentionally playing bad moves or moving pieces around in order to "think"?
Are players frustrated that the interface wouldn't let them take the turn that they wanted to take because they made one misclick? (definitely sounds like the case here).
Imagine that I have four jungle actions to carry out around my worker tile 1-1-1-1 :
- Get 2 cacao
- Sale 1 cacao for 2 gold
- Get 1 cacao
- Sale 1 cacao for 4 gold
I can click on any action in any order. Each action update score and notify other players about what's happen.
How the undo must be managed ?
If I get 2 cacao, sale 1 for 2 gold... oh no, mistake, I wanted sale for 4 gold -> Undo.
Then, Undo become available for my first action too ?
What others players see ? Gold back to the tile and score decrease ?
en.doc.boardgamearena.com/Main_game_logic:_yourgamename.game.php#Undo_moves
This would undo your entire turn. Canceled notification log items would disappear and there would only be one item saying "<player> cancels their move". The guidelines do mention that this is a heavy-handed solution because it saves and restores the entire table's data, but it is consistent with how many other games are implementing undo.
A more difficult to implement alternative would be an incremental undo ("player undoes worker action"). This would require storing individual actions taken this turn in the database in some way and creating a coherent way to represent undo on the client side. This is how I implemented incremental undo for tile placement in Off the Rails, but it does have the disadvantage you mention of creating a log entry for every action that is done and undone.
I note that an Undo for the whole turn of actions is a way, but :
- a confirm button is thus necessary at the end;
- this state of the game is in multi player mode : the undo database will be for all players ?
- I must fire notifications to remove cacao fruits in the player zone;
I'm considering this Undo for the future, when I'll be more "veteran" with BGA programming.
This is a big refactoring.
$this->undoSavePoint(); at the beginning of a single player's turn, an undo button added to the action bar (possibly with a modal confirmation), an undo action added to action.php and added as a possible action to the state, and $this->undoRestorePoint(); if the user takes the undo action. See La Granja, Teotihuacan, and Off the Rails (mine) for publicly accessible precedents.
I do not believe an end turn button violates the intent of the BGA guidelines for multi-step turns. I have written a defense of this position on the forums here: boardgamearena.com/forum/viewtopic.php?f=12&t=16770
Of course, every game is different, and if an end turn button feels like too much of an extra step, you could investigate the "request undo" checkbox precedent established in Teotihuacan. This would require refactoring to add an extra state, or to add an extra argument to each player action.
database undo is not supported in multiactiveplayer states. There can be only one persistent active player between any two points where undoSavePoint and undoRestorePoint are called. From my understanding of this game, it seems pretty rare that the multipleactiveplayer state would require multiple actions, so you'd probably be fine without an undo here. If it feels like it does need an Undo to be consistent, it might be better to cycle through players in a single action. La Granja has a game option for this, but that might be overkill here.
No notifications are necessary to restore the game state. undoRestorePoint automatically handles this :)
This is implement is this new release version 200928-2118.
I reject the idea to program an undo on a multi players state : this is overkill and reduces the flow of the game.
리포트에 내용 추가하기
- 다른 테이블 번호 / 수 번호
- 새로고침을 해서 문제가 해결 되었습니까?
- 문제가 얼마나 자주 일어났습니까?
- 만약에 버그에 대한 스크린샷을 가지고 계신다면 Imgur.com 사이트에 업로드 하시고, 여기에 링크를 복사/붙여넣기 하시기 바랍니다.