New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling timeout #19
Merged
Merged
Handling timeout #19
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…11 specification, extra parentheses indicate the value-initialization instead of the list-initialization, if the GNU extension [-Wgnu-array-member-paren-init] is not specified
…e next position is nagative
debugしていたらobstacledの配列アクセスで Segmentation faultになっていました。 その修整と、y = length はマップに含まれる (障害点が存在しうる)ことと 実装が食い違っていたためcommit内容のように修整しました。
Windows環境でもエラーになったため このbranchをmergeします。
Windowsはファイル・ディレクトリの 大文字・小文字の区別がないため makeが走りません。そのため .PHONYを用いるように修整しました。
I beg ya pardon...
相手がもといた位置を通過しているかどうかの判定を先に行い、 両者が動くときに限り動線の交差判定を行う。
…18 into for_windows
サンプルコースファイルのthinkTimeが恐らく2秒に設定されていたため、 |
viewerの表示もエラー時に対応させます。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix #18
該当commit : f46ae06
以下への対処を実装しました。
上記の事象が発生した場合、ゲームログには
そのプレイヤーのlogの末尾のresultに-1をセットしています。
細かくエラーの種類をresultにセットすることや
ゲームログに残り時間(timeLeft)を追加することを考えましたが
あまりオープンにしすぎると嫌がる方もいらっしゃるかなと思い
見送りました。
実装を急いだだめ、for_windows branchから派生させていただいています。