{"id":12,"date":"2021-02-17T21:36:28","date_gmt":"2021-02-17T21:36:28","guid":{"rendered":"http:\/\/msc-ai.knipmeyer.co.uk\/?p=12"},"modified":"2021-06-11T08:38:13","modified_gmt":"2021-06-11T08:38:13","slug":"upgrades-and-games","status":"publish","type":"post","link":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/2021\/02\/17\/upgrades-and-games\/","title":{"rendered":"Upgrades and games !"},"content":{"rendered":"\n<p>Having been a Linux advocate for nearly 20 years I was converted to using a mac after working on Device Management project which was soley built around iOS and OS-X, so i used a mac on a daily basis. After that i was hooked and bought my first imac, an older 2nd model, but stilll good enough. When Mojave came out, I upgraded once more, again to a 2nd hand machine, but long and the short this machine was not capable of running Unity and Python scripts that ran quickly on Linux\/Ubuntu were slow on it also.<\/p>\n\n\n\n<p>As I needed to at least explore Unity and I also had Work (non academic) needs fo anew machine bought myself a decent spec imac, brand new !<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/1AFE1F9D-A2C4-4E8C-B0E0-53AC7FF637AF_1_105_c.jpeg\" alt=\"\" class=\"wp-image-15\" width=\"614\" height=\"460\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/1AFE1F9D-A2C4-4E8C-B0E0-53AC7FF637AF_1_105_c.jpeg 1024w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/1AFE1F9D-A2C4-4E8C-B0E0-53AC7FF637AF_1_105_c-300x225.jpeg 300w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/1AFE1F9D-A2C4-4E8C-B0E0-53AC7FF637AF_1_105_c-768x576.jpeg 768w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/1AFE1F9D-A2C4-4E8C-B0E0-53AC7FF637AF_1_105_c-400x300.jpeg 400w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><figcaption>2020 imac, it smelt as good as it looked out the box<\/figcaption><\/figure>\n\n\n\n<p>I was then able to reinstall Unity and start building games\/following tutorials.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/alz0r.stoatopic.net\/resize\/49f95698-44d1-425b-84c0-65d8fd1e24a6_2048.jpg\" alt=\"\"\/><figcaption>Unity Looks gorgeous !<\/figcaption><\/figure>\n\n\n\n<p>I followed the toutorials to get started with Unity. I found it very enjoyable and amazing on what this software can achieve.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Processes: 583 total, 2 running, 581 sleeping, 3061 threads            21:08:52\nLoad Avg: 2.89, 3.97, 3.92  CPU usage: 2.13% user, 1.71% sys, 96.15% idle\nSharedLibs: 605M resident, 101M data, 108M linkedit.\nMemRegions: 287343 total, 17G resident, 369M private, 4886M shared.\nPhysMem: 51G used (6305M wired), 77G unused.\nVM: 4262G vsize, 2305M framework vsize, 0(0) swapins, 0(0) swapouts.\nNetworks: packets: 24934358\/25G in, 64148466\/53G out.\nDisks: 1227896\/57G read, 4118049\/56G written.\n\nPID    COMMAND      %CPU  TIME     #TH    #WQ  #PORTS MEM    PURG   CMPR PGRP\n133    WindowServer 10.3  06:35:06 26     17   3779+  959M-  4736K  0B   133\n24728  Unity        9.0   02:01.42 117    4    1396   815M   3260K  0B   2472<\/code><\/pre>\n\n\n\n<p>Even on a modern Mac Unity was taking its fair share of resources. I thought about the Netlogo app I had run because I couldnt get Unity to run. I was really impressed with that, even on an older mac, so I installed it on this newer model.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"991\" src=\"https:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/image-1-1024x991.png\" alt=\"\" class=\"wp-image-14\" srcset=\"http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/image-1-1024x991.png 1024w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/image-1-300x290.png 300w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/image-1-768x743.png 768w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/image-1-1536x1487.png 1536w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/image-1-310x300.png 310w, http:\/\/msc-ai.knipmeyer.co.uk\/wp-content\/uploads\/2021\/02\/image-1.png 1684w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Pacman in NetLogo impressed me ! (credits to Uri Wilensky)<\/figcaption><\/figure>\n\n\n\n<p>I found the code incredbly easy to read as well. It reminds me of a mixture of Pascal, Python and Basic.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>App<\/td><td>Pro<\/td><td>Con<\/td><\/tr><tr><td>Unity<\/td><td>It looks amaazing<\/td><td>The UI has to be learnt to get anywhere<\/td><\/tr><tr><td>NetLogo<\/td><td>Its very human-readable code<\/td><td>The graphics output (in 2d) are based on Python\/Turtle<\/td><\/tr><tr><td>Unity<\/td><td>It has complex AI features<\/td><td>Learn how to use them within the UI and to build the app<\/td><\/tr><tr><td>NetLogo<\/td><td>Has complex AI Features<\/td><td>These have to be learned and is alot more theortical.<\/td><\/tr><tr><td>Unity<\/td><td>It can create publishable games to industry standard<\/td><td>&#8220;Pro&#8221; requires a subscription, not unlike Apples Development method to get apps into the App Store<br><\/td><\/tr><tr><td>NetLogo<\/td><td>It is light on resources allowing multiple applications to run<\/td><td>Its not as &#8216;pretty&#8217;as unity<\/td><\/tr><\/tbody><\/table><figcaption>considering the pros and cons of Unity and NetLogo<\/figcaption><\/figure>\n\n\n\n<p>I think the most critical factor is that in the marking of the assignment we are not assesed on how the game looks, moreso on the AI. As I really want to get a excellent grade that is persusasive enough for me to go down the NetLogo route rather than Unity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/alz0r.stoatopic.net\/resize\/30c1ec3e-a075-410a-94d9-72469d6ad775_2048.jpg\" alt=\"\"\/><figcaption>New books and a game !<\/figcaption><\/figure>\n\n\n\n<p>After reviewing the learning materials so far 2 books stood out, Artificial Intelligence: A Modern Approach, Global Edition (Russel\/Norveg 2016) and Agent-Based Modeling (Wilensky, Rand 2015).  The AI book is a weight tome ! but its already getting well dog-earred. I&#8217;m not pretending i can learn everything in it in one semester, its almost a whole academic year (if not more) worth of material in there.<\/p>\n\n\n\n<p>I particuarly like the Agent Based Modelling book as its all around NetLogo and goes into very technical AI &#8211; exactly what the assignement is looking for. Its easy to read and makes me want to do all the exercises in it, but I will be practical and focus on what ones will deliver some form of &#8216;game&#8217;.<\/p>\n\n\n\n<p>I got the Alien game and Headphones as I&#8217;ve not played alot of games on the PS4, and I want to make videos of myself palying it to see how emmersed i become in the game. I&#8217;ve heard its very good on the AI and can be even quite frightining ! Looking forward to makign those videos of me playing soon !<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having been a Linux advocate for nearly 20 years I was converted to using a mac after working on Device Management project which was soley built around iOS and OS-X, so i used a mac on a daily basis. After &hellip; <a href=\"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/2021\/02\/17\/upgrades-and-games\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3,4],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-books","category-game-engines","category-gameplay"],"_links":{"self":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":3,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":146,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/12\/revisions\/146"}],"wp:attachment":[{"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/msc-ai.knipmeyer.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}