<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by mikemilligan on Medium]]></title>
        <description><![CDATA[Stories by mikemilligan on Medium]]></description>
        <link>https://medium.com/@michaela1milligan?source=rss-baa60346bc65------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ja_QOqkbUyR_slDasz61eQ.jpeg</url>
            <title>Stories by mikemilligan on Medium</title>
            <link>https://medium.com/@michaela1milligan?source=rss-baa60346bc65------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:39:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@michaela1milligan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Brownfields Robot World Project Report]]></title>
            <link>https://medium.com/@michaela1milligan/brownfields-robot-world-project-report-6705ae385b46?source=rss-baa60346bc65------2</link>
            <guid isPermaLink="false">https://medium.com/p/6705ae385b46</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[wethinkcode]]></category>
            <category><![CDATA[project-report]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[game-development]]></category>
            <dc:creator><![CDATA[mikemilligan]]></dc:creator>
            <pubDate>Sun, 12 May 2024 21:30:31 GMT</pubDate>
            <atom:updated>2024-05-12T21:30:31.494Z</atom:updated>
            <content:encoded><![CDATA[<p>Robot Worlds is a group project created during the Brownfields module during our second year at WeThinkCode_. My name is Mike Milligan, and I worked on this project with Amaan Peterson, Antonio Ambrosini, Boipelo Morokolo, Jaden Fielies, and Siyamkela Bodla</p><h3>Contents</h3><ol><li>Introduction</li><li>Project Presentation</li><li>Project Demonstration</li><li>Conclusion</li></ol><h3>Introduction</h3><p>The Robot Worlds project introduces a game where players command robots to engage in combat against each other within a virtual world. In this game, your task is to command your robot to navigate a grid-based world filled with obstacles, pits, and mines placed by rival robots, while simultaneously trying to shoot other robots, and avoiding getting shot yourself.</p><p>Throughout the project, we encountered many opportunities for learning and discovery, such as: working from an existing codebase, implementing missing and new features, Acceptance Testing, build scripts, code analysis, Continuous Integration/Continuous Delivery (CI/CD) build pipelines, containerization using Docker, using SQL relational databases to store world data, thread concurrency, HTTP protocols, implementing a Web API, and Object Relation Mapping.</p><p>We will be covering the Server and Client requirements, the Project Presentation, and the Project Demonstration</p><p>Here are some of the features we had to implement:</p><p>Server Requirements:</p><ul><li>The server admin sets the server IP address and port either by command-line arguments or a configuration file</li><li>The world is a grid of configurable size that uses a co-ordinate system with [0,0] at the center</li><li>Robots can move in four directions, North, South, East and West</li><li>The world configurations control the robots visibility distance</li><li>The world contains square obstacles, that block the robots path</li><li>The world contains square bottomless pits, that cause robots to die if they fall into one</li><li>The server admin has access to a variety of commands:<br>- quit: which disconnects all robots and ends the game,<br>- robots: which lists all robots and their states,<br>- purge &lt;RobotName&gt;: which kills and removes the named robot from the game,<br>- dump: which displays a representation of the world’s<br>- save &lt;WorldName&gt;: which saves the current world, including its obstacles, pits, and mines into database tables<br>- restore &lt;WorldName&gt;: which restores the world with the given name, including its pits, and mines from the database</li><li>Other world configuration settings:<br>- shield repair time,<br>- weapon reload time,<br>- mine placing time,<br>- maximum shield strength</li><li>The server can allow multiple robots to join concurrently</li><li>The server will not allow robots with duplicate names</li><li>The server will not allow robots to join when there is not an empty space for it to spawn onto</li><li>The server allows connections</li></ul><p>Client Requirements:</p><ul><li>Users connect to the world server using the worlds IP address and port</li><li>Users enter into the game world by launching their robots with the launch command, specifying the make and name of their robots.</li><li>Users control their robots through a variety of commands:<br>- forward / back &lt;steps&gt;: moves the robot forwards or backwards the given amount of steps<br>- left / right: turns the robot 90 degrees in the direction given<br>- look: returns information about the objects visible directly North, South, East, and West of the robot, within its visibility range<br>- repair: which repairs a robots shields to full after a short delay<br>- fire: which fires the robots weapon in the direction it’s facing<br>- reload: which reloads a robots ammo to full after a short delay<br>- mine: which allows the robot to place a mine after a short delay, which reduces the shields of any robot that steps on it by 3</li></ul><h3>Project Presentation</h3><p>During the project presentation, we cover the planning, research, and design process we went through during the development of this project , as well as the documentation for the final product.</p><p>For this project, we were already familiar with the initial project requirements as we had already implemented simpler versions iteratively, each one building on the last. We conducted our research, utilizing websites such as the curriculum site, W3schools, Google, StackOverflow, and large language models such as ChatGPT, and Phind.</p><p>We organized our research and design using websites such as Miro for whiteboard and diagram layouts, and Notion for document and table layouts. We also showcase using GitLab to manage source files, version control, issues boards, and build pipelines.</p><p>We did research on concepts such as sending requests and responses using HTTP protocols, allowing connections and requests via Web APIs, serializing and deserializing JSON objects, data persistence with SQL to store world data, and implementing build pipelines.</p><h3>Project Demonstration</h3><p>For the project demonstration, we showcase the installation and usage of our project from start to end. Showcasing both server and client applications and displaying the full functionality of our Robot World Project.</p><p>We walk through downloading the source code from GitLab, and go through the installation and usage instructions found in the ReadMe file. We then ran an instance of the server program and several instances of the client program to showcase the functionality of the required features. We also went through and ran all of our unit tests and acceptance tests, including an overview of the tests’ code coverage.</p><h3>Conclusion</h3><p>Over the course of this project we learnt a lot about client/server architecture, networking, deployment, and working as a team.</p><p>We faced many challenges along the way, but in the end we worked together as a team to implement the features, and we all learned a lot about how to work effectively in a team. We planned out our work over the iterations, and while we had challenges completing everything in time, we ended up with a final project that we can all be proud of.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6705ae385b46" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>