{"id":22,"date":"2022-05-20T02:18:59","date_gmt":"2022-05-20T02:18:59","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/?p=22"},"modified":"2022-05-20T02:18:59","modified_gmt":"2022-05-20T02:18:59","slug":"post-8","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/2022\/05\/20\/post-8\/","title":{"rendered":"Post #8"},"content":{"rendered":"\n<p>And the project is basically done! In our testing, it all seems good except for one bug. For some reason the server sometimes isn&#8217;t correctly removing clients once they&#8217;ve disconnected, making the server think it&#8217;s full when it really isn&#8217;t. But other than that, we have all parts at a level of completion that we&#8217;re happy with. This week, I helped out with some frontend UI elements to improve the UX. I added some &#8220;back&#8221; buttons to return to the select menu at anytime, including in the middle of a game. Then I added an informative popup window to appear when the opponent disconnects or if the game ends with a checkmate or staemate, and then the user can click the popup to return to the select menu.<\/p>\n\n\n\n<p>Although I&#8217;m happy with the final result, I&#8217;ve learned a lot about how important the planning and design phase is, and this is reflected in our source code. There&#8217;s a lot of code smells and patchwork we did to get something to work rather than coding a more elegant solution. Perhaps this is because of the relatively quick pace of the class and a limited time to both think of a solution and learn new packages. There&#8217;s a number of elements I would like to go back and spend more time planning out so that the actual development period and integration could go more smoothly. But I&#8217;m still proud that three of us worked together to create a  fully functional online game that we can give to ou friends to play from anywhere at anytime.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>And the project is basically done! In our testing, it all seems good except for one bug. For some reason the server sometimes isn&#8217;t correctly removing clients once they&#8217;ve disconnected, making the server think it&#8217;s full when it really isn&#8217;t. But other than that, we have all parts at a level of completion that we&#8217;re [&hellip;]<\/p>\n","protected":false},"author":12261,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/users\/12261"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":1,"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":23,"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/posts\/22\/revisions\/23"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/joshluoblog\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}