{"id":145,"date":"2008-07-31T17:53:15","date_gmt":"2008-07-31T23:53:15","guid":{"rendered":"http:\/\/www.philhassey.com\/blog\/?p=145"},"modified":"2008-07-31T17:53:15","modified_gmt":"2008-07-31T23:53:15","slug":"igalcon-enet-multi-player-fun-fun-fun","status":"publish","type":"post","link":"https:\/\/www.philhassey.com\/blog\/2008\/07\/31\/igalcon-enet-multi-player-fun-fun-fun\/","title":{"rendered":"iGalcon + enet = Multi-Player fun fun fun"},"content":{"rendered":"<p>So .. not being in python-land I really didn&#8217;t feel like reinventing the networking-wheel this time.\u00a0 So I grabbed <a href=\"http:\/\/enet.bespin.org\/\">enet<\/a> for this project and it rocks.\u00a0 I had no notable trouble (beyond normal laziness when it comes to reading documentation) getting it up and running.\u00a0 And after I got it going nicely in my linux environment, it worked out-of-the-box for compiling to the iphone \ud83d\ude42\u00a0 Thanks to lack of endian issues, I didn&#8217;t have any trouble there either!\u00a0 Here&#8217;s the screenie:<\/p>\n<p><a href=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/07\/igalcon11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-146\" title=\"igalcon11\" src=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/07\/igalcon11-300x178.png\" alt=\"\" width=\"300\" height=\"178\" srcset=\"https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/07\/igalcon11-300x178.png 300w, https:\/\/www.philhassey.com\/blog\/wp-content\/uploads\/2008\/07\/igalcon11.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>On my TODO list is:<\/p>\n<ul>\n<li>Add Settings (Sound effects on\/off, favorite colors for MP game, user \/ password login for MP game)<\/li>\n<li>Add Server List (must figure out how to do HTTP requests from C with minimal strain)<\/li>\n<li>A bit more testing and some odds-n-ends<\/li>\n<\/ul>\n<p>I hope to have it all done soonish!<\/p>\n<p>On a development-side note, I implemented some automated testing of the network code.\u00a0 This saves me from having to run over a dozen use-cases any time I mess with the client-server code.\u00a0 So it&#8217;s saved me a bit of time, and given me that great &#8220;feels like it will work&#8221; feeling.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So .. not being in python-land I really didn&#8217;t feel like reinventing the networking-wheel this time.\u00a0 So I grabbed enet for this project and it rocks.\u00a0 I had no notable trouble (beyond normal laziness when it comes to reading documentation) getting it up and running.\u00a0 And after I got it going nicely in my linux [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,66,9],"tags":[],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-galcon","category-iphone","category-testing"],"_links":{"self":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":0,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}