<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-12948535</id><updated>2011-06-08T02:24:46.990-04:00</updated><title type='text'>Pak_Man</title><subtitle type='html'>The explanation of a lifetime...
Java™ Style.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kataron</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12948535.post-111928587829892180</id><published>2005-06-20T12:40:00.000-04:00</published><updated>2005-06-20T20:12:00.123-04:00</updated><title type='text'>broken code</title><content type='html'>It's the day of submission and it seems that the only version of my code that I have on hand is that which I tried to loop 4 times to assign a direction to all 4 ghosts. This broke the code completely. I'll find a working version or fix what I have and submit it to the following address:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.glan.ca/%7Emitch/working/ai.java"&gt;http://www.glan.ca/~mitch/working/ai.java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.glan.ca/%7Emitch/working/levelOne.java"&gt;http://www.glan.ca/~mitch/working/levelOne.java&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I should have it up tonight, tomorrow at the latest.&lt;br /&gt;&lt;br /&gt;EDIT: According to my computer, as of Monday, June 20, 2005, 8:10 PM, both files are up.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111928587829892180?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111928587829892180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111928587829892180' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111928587829892180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111928587829892180'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/broken-code.html' title='broken code'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111916084826485090</id><published>2005-06-19T02:03:00.000-04:00</published><updated>2005-06-19T02:00:48.266-04:00</updated><title type='text'>Tired and underpaid.</title><content type='html'>So it's late, and 3/4 of the group are at Mitch's house.  We are nearing completion of the game, but still have work to do, so we decided to meet at Mitch's house and work on it together.  Sitting near me (Jared) are Mitch and Nate.  Ben is to be getting here in about 8.5 hours. ((Oh, Ben just called and apparently he will actually be here in about half an hour)).&lt;br /&gt;&lt;br /&gt;I have made a list of what we still must complete, and the list is somewhat long-ish.  It's not overly long, however, and although a number of the tasks are somewhat time-consuming, none of them are really all that difficult.  So after that list, I feel somewhat reassured.  Crunch-time is slightly less crunchy.  Like an Oreo in milk.&lt;br /&gt;&lt;br /&gt;Also, the computer I am using is HORRIBLE. Yes, it is even worse than my own. The video card can reach nothing better than 640x480 resolution, and the colour quality can not best 16 bit. The mouse is completely screwed, and if I move it, it goes wonky all over the screen and starts selecting things. So I use the keyboard. In JCreator, I cannot actually type, so I must type things into Notepad and then copy them. The ONLY reason I am willing to use this machine is because I need to code and it is the only thing available. :/&lt;br /&gt;&lt;br /&gt;Anyway, we stil have work to do. But we are nearing our goal, and taking a break. We are all very tired at this point in time, and decided that we can get no productive work done and will therefore rest for some time, then get back to work when our minds are refreshed. And thus shall end.&lt;br /&gt;&lt;br /&gt;*falls asleep*&lt;br /&gt;~Genome&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111916084826485090?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111916084826485090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111916084826485090' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111916084826485090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111916084826485090'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/tired-and-underpaid.html' title='Tired and underpaid.'/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111887709666027998</id><published>2005-06-15T18:57:00.000-04:00</published><updated>2005-06-15T19:11:36.663-04:00</updated><title type='text'>Aaaaaaand I'm spent.</title><content type='html'>Yup, I'm done. That's it. Nothing left to do. Fully functional code on my end, in every respect.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well, that might be a slight exaggeration, but pretty close. I've got a little bit more commenting to do, but random for ghost 0 works now. I've broken up most of the code into methods, too, so it's ultra clean, made more so by my re-organization of the variables. Other than that, I just need the class names.... and classes themselves that the x and y co-ords for the ghosts and pak_man are going to be pulled from so I can add that ability to my code (hardcoded for testing purposes at the moment).&lt;br /&gt;&lt;br /&gt;So lets review, my code can:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;determine the shortest straight line distance to pak_man if it were to move in any given direction&lt;/li&gt;   &lt;li&gt;Do the opposite when pak_man is chasing the ghosts&lt;/li&gt;   &lt;li&gt;If it's for ghost 0, it goes in a random direction&lt;/li&gt; &lt;/ul&gt; And it does all that regardless of the following pitfalls:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;More than one direction holds the same distance&lt;/li&gt;   &lt;li&gt;All distances are different&lt;/li&gt;   &lt;li&gt;the ghost is one tile away from pak_man&lt;/li&gt; &lt;/ul&gt; The only possible other feature I could add would be the ability for the smartest ghost to look more than just one tile ahead. That, however, is not the most pressing issue when we don't even know how to get an image to move across the screen when the user presses an arrow key. In light of this, I feel the best course is to put it to a group vote tomorrow in class; whether I add the aforementioned feature, or help with the swing coding. If it's decided that I'm to work on swing, I'll spend 20-30 minutes commenting, and then my code is as good as ready to be submitted for marking.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111887709666027998?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111887709666027998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111887709666027998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111887709666027998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111887709666027998'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/aaaaaaand-im-spent.html' title='Aaaaaaand I&apos;m spent.'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111828505742519708</id><published>2005-06-08T22:45:00.000-04:00</published><updated>2005-06-08T22:44:17.430-04:00</updated><title type='text'>I are teh l33t.</title><content type='html'>Data transmission works. Checked over two computers, tomorrow I shall try three in the beginning of the class.&lt;br /&gt;&lt;br /&gt;w00t.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111828505742519708?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111828505742519708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111828505742519708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111828505742519708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111828505742519708'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/i-are-teh-l33t.html' title='I are teh l33t.'/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111818014354380472</id><published>2005-06-07T17:35:00.000-04:00</published><updated>2005-06-07T17:35:43.546-04:00</updated><title type='text'>Success!    And problematic findings. :(</title><content type='html'>Socketman here.  With my Thread of Truth I shall conquer evil.  (I really hope that &lt;i&gt;somebody&lt;/i&gt; realizes that blatant Wonder Woman reference.)&lt;br /&gt;&lt;br /&gt;Anyway, here's the update in the world of networking:  As I said earlier, I believe, I have read and understood everything concerning multi-threaded "servering" and all was well.  Now, I have completed the Server program (rather, the classes that will receive and interpret information from networked computers) and it works like unambiguity incarnate.  Unfortunately, I had to include Swing to make it work.  So in lieu of this, after testing is complete, I will simply include the component that requires Swing in Nate's section, as it is essentially just the part that &lt;i&gt;calls&lt;/i&gt; my sockets and threads into existence.  So it is easily transferable.&lt;br /&gt;&lt;br /&gt;Tonight I plan on working steadily on the Client program (or, the classes that are intended to send information over the network to Server applications on receiving terminals) and hopefully I shall complete it tonight.  After that, all that I must do is clean it up, determine which pieces of data must be sent through the network, and then finally determine how to specifically connect the computers.&lt;br /&gt;&lt;br /&gt;The problem inherent in connecting the computers is a simple one, but with a seemingly difficult solution.  Originally, my main problem was how to connect -all- the computers in every way.  For instance, each computer must be connected to every other computer in order to transmit its data.  I almost decided to have the information travel in a ring-like sequence, with each system connecting to only one, which in turn connected to another, etc.  This would allow all information to be shoved around.  However, it is terribly inefficient as the first computer's variables will take longer than necessary to get to the last computer.  So I have now decided to have 4 Clients per terminal connecting to the Server running on each other computer.  This is a much easier and quicker approach to my original problem.&lt;br /&gt;&lt;br /&gt;However!  My new issue arises out of this decision.  For the way that sockets interact is using the Computer Name defined in network properties.  Therefore, either the Client that is currently being run must KNOW the Computer Name of the Server it's connecting to, or the end-user must so that they can type it in.  If need be, I can simply do that, and have a function to read the name so that each user can read it to the others to type in, but that is both horribly inefficient and somewhat dangerous if this game is ever to be introduced to those who are not so adept in the workings of computers.  For this reason I must exert much contemplation on how to do this... Although I don't know of any other way.&lt;br /&gt;&lt;br /&gt;We shall see what will come of this.  I will speak with the others about it.  Farewell for now.&lt;br /&gt;&lt;br /&gt;*a string of a sticky web-like substance shoots down and pulls him away*&lt;br /&gt;~Genome&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111818014354380472?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111818014354380472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111818014354380472' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111818014354380472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111818014354380472'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/success-and-problematic-findings.html' title='Success!    And problematic findings. :('/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111807341343776459</id><published>2005-06-06T11:50:00.000-04:00</published><updated>2005-06-06T12:59:20.860-04:00</updated><title type='text'>*cough* *cough*</title><content type='html'>Jared posting here.&lt;br /&gt;&lt;br /&gt;It seems to be working. Don't know what's wrong.&lt;br /&gt;I may or may not look into this later.&lt;br /&gt;Probably not.&lt;br /&gt;&lt;br /&gt;It may have been some sort of jump/glytch/whatever in the server for a moment. Hopefully it doesn't happen again, eh?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111807341343776459?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111807341343776459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111807341343776459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111807341343776459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111807341343776459'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/cough-cough.html' title='*cough* *cough*'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111802519847524311</id><published>2005-06-05T22:27:00.000-04:00</published><updated>2005-06-06T00:15:22.776-04:00</updated><title type='text'>The Many Faces of Pak_man</title><content type='html'>On friday I completed the 16 models of pak_man sized, colourized and ready for use. I have the normal pak_man's 8 different models; up, down, left and right for open and closed mouth positions. Also we decided to make, instead of the ghosts changing, pak_man changes when he eats the pill. So all 8 models for the "on the pill pak_man" are done as well. So the next task which I attempted on friday is to find a high-res format and low size (which shouldn't be a problem on a 22x22 object) to export it as. I have yet to find a file type that keeps the resolution but my quest continues.&lt;br /&gt;~fruitsnacks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111802519847524311?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111802519847524311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111802519847524311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111802519847524311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111802519847524311'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/many-faces-of-pakman.html' title='The Many Faces of Pak_man'/><author><name>Fruit E. Snacks</name><uri>http://www.blogger.com/profile/00170037971545558701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111789638295380207</id><published>2005-06-04T10:35:00.000-04:00</published><updated>2005-06-04T10:46:22.956-04:00</updated><title type='text'>A map to success</title><content type='html'>Given my accomplishment last night of perfecting the pathfinding aspect of the AI, I thought I'd give myself a checklist of things yet to be done, which is actualy quite a lot.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Pretty up the code: I've done a few things in quick 'n dirty ways, just to get them done for proof of concept that needs to be done better, as well as consolidating the variables to one place in the code and calling the making the variables that will call their data from different classes do just that&lt;/li&gt;&lt;li&gt;Further comment the code: rapid advancement like last night leads to poor commenting&lt;/li&gt;&lt;li&gt;Reversing the AI: Obviously if pak_man is chasing the ghosts to eat them, they can't be chasing him :P&lt;/li&gt;&lt;li&gt;Programming the different levels of AI: I still need to make the random AI for the stupidest ghost as well as the advanced AI that can look one or more tiles ahead for the smartest ghost.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;As you can see, there is still MUCH to be done. I think the most important thing to be done is working out the reverse AI, which shouldn't be too hard. After that, if all else fails, I will have done the minimum of what I had set out to do, and my share of the work will at least be working enough to be playable. The advanced AI will have to be time allowing.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111789638295380207?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111789638295380207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111789638295380207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111789638295380207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111789638295380207'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/map-to-success.html' title='A map to success'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111782476120120165</id><published>2005-06-03T14:52:00.000-04:00</published><updated>2005-06-03T19:16:02.346-04:00</updated><title type='text'>Very near complete victory!</title><content type='html'>See title.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111782476120120165?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111782476120120165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111782476120120165' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111782476120120165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111782476120120165'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/very-near-complete-victory.html' title='Very near complete victory!'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111782040691869142</id><published>2005-06-03T13:35:00.000-04:00</published><updated>2005-06-03T13:40:06.920-04:00</updated><title type='text'>Putting more 'i' in 'ai'</title><content type='html'>Majour breakthrough today in class. if two tiles give the same distance to pak_man, the ai works. On the otherhand, if all 4 distances are not equal, the ai breaks down.... But as I write this while waiting for Eclipse to download, I just realized that that is entirely fine. I'll just remove the part of that determins the direction if the distances are different and instead, after the part of the code that works, if it hasn't come up with a solution, I'll sort the distances from shortest to longest and choose the shortest. It's all coming together now....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111782040691869142?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111782040691869142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111782040691869142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111782040691869142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111782040691869142'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/putting-more-i-in-ai.html' title='Putting more &apos;i&apos; in &apos;ai&apos;'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111776484475114800</id><published>2005-06-02T22:10:00.000-04:00</published><updated>2005-06-02T22:14:04.756-04:00</updated><title type='text'>Swing</title><content type='html'>Swing is evil.&lt;br /&gt;&lt;br /&gt;I am still attempting to learn it. EVIL. I have learned that I need to make a JPanel before using image icons, and I'm currently examining some swing code I found on-line to try to go back through it and see what makes it tick. I've been looking on-line and in the Java books in the classroom.&lt;br /&gt;&lt;br /&gt;But I despise Swing already.&lt;br /&gt;&lt;br /&gt;Until next time,&lt;br /&gt;Wombat? What wombat?&lt;br /&gt;~Kataron&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111776484475114800?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111776484475114800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111776484475114800' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111776484475114800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111776484475114800'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/swing.html' title='Swing'/><author><name>Kataron</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111775599632555982</id><published>2005-06-02T19:41:00.000-04:00</published><updated>2005-06-02T19:46:36.330-04:00</updated><title type='text'>Following a Different Thread</title><content type='html'>So I have spent much time poring over the code that I acquired from that good friend of mine, and I understood it. The problem was that it was source with a purpose. It interacted with numerous other classes, ones which I did not have. That wasn't such a big deal, but it made it more difficult to understand the basics of sockets.&lt;br /&gt;&lt;br /&gt;So I started from scratch (while still remembering what I understood) and found a tutorial on Sun's website. I have just been going through it, and am understanding wonderfully. The best part, I find, is that I have been analysing and compiling example code and I have now learned how to interact over a network with sockets &lt;i&gt;perfectly&lt;/i&gt; fine. The thing is, I have only learned sockets. Not threads. So I can only interact between two computers at a time.&lt;br /&gt;&lt;br /&gt;Not to worry, however. I have already begun learning multi-threaded sockets, and I do not believe it will be very much more difficult than single-threaded. Expect another new post from me very soon. In the mean-time...&lt;br /&gt;&lt;br /&gt;*distracts you as he escapes behind a RETURN statement*&lt;br /&gt;~Genome&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111775599632555982?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111775599632555982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111775599632555982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111775599632555982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111775599632555982'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/following-different-thread.html' title='Following a Different Thread'/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111759937051248477</id><published>2005-06-01T00:12:00.000-04:00</published><updated>2005-06-01T12:05:25.593-04:00</updated><title type='text'>The network is getting there...</title><content type='html'>So I've worked on the network code a bit. Not much, yet... I am still working on understanding completely. I've also been trying to think of a port to run this on, at &lt;i&gt;least&lt;/i&gt; for testing. Right now my mind is set upon 510, but that is not yet final. I recall adding the IP of my computer in the classroom (10.5.16.175) into the ConnectionManager, and I will add Ben's (10.5.16.144) into the playerConnection, to test connecting into the game from Ben's. I have yet to do this testing, for the classes are not ready... But I am setting it up. Anyway, I believe I can readily send information through the network... All I need to do is complete the actual &lt;i&gt;connecting&lt;/i&gt; part, and then figure out how to run Threads so that lots of data can be sent and received simultaneously. Oh, the excitement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111759937051248477?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111759937051248477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111759937051248477' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111759937051248477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111759937051248477'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/06/network-is-getting-there.html' title='The network is getting there...'/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111747289173097568</id><published>2005-05-30T12:56:00.000-04:00</published><updated>2005-06-06T00:16:49.810-04:00</updated><title type='text'>The colours of success</title><content type='html'>Well now that the level design is complete I will be beginning the colourization of the game. The level is the first task, colouring the walls etc. Then pak_man will be next and the ghosts. After this has been completed, I will be working with Nate to integrate them into the game. The next task will be to make the interface menu. The decision whether or not to make the menu graphical or text has not been reached, but the latest polls indicate a majority towards graphical, which in turn will be a burden. Morale is good, and so I continue...&lt;br /&gt;~fruitsnacks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111747289173097568?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111747289173097568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111747289173097568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111747289173097568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111747289173097568'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/colours-of-success.html' title='The colours of success'/><author><name>Fruit E. Snacks</name><uri>http://www.blogger.com/profile/00170037971545558701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111713433122667832</id><published>2005-05-26T14:52:00.000-04:00</published><updated>2005-05-26T15:13:12.296-04:00</updated><title type='text'>*sigh*</title><content type='html'>Alright, well... The code I have was fun to work on and all... but there are too many exceptions to code in, and it's already damn ugly, so it's time to start fresh.&lt;br /&gt;&lt;br /&gt;A* (pronounced "a star") is the form of AI that was used in the original pac man, and is still used as one of the leading forms of pathfind AI... But it's complicated. So, in loo of that, using an idea I gleemed from some intro pages on A*, I've decided to do the following:&lt;br /&gt;&lt;br /&gt;A 2-D array containing every tile used at what co-ord. The ghost will look to this array for what tiles are around it. If it's any tile other than the path, it discounts it as a possible direction to go in. If it is a path tile, then it will take the co-ord that it would be at if it was on that tile and draws a straight line (so to speak) to pak_man. If that distance is shorter than the distance from any of the other (up to) 3 directions, then it will choose that tile to move to next. If 2 directions give the same results, it will randomly choose one.&lt;br /&gt;&lt;br /&gt;This is a very simple way of doing the AI, with many glarring faults. The worst being that it is VERY easy for the AI to get stuck behind a wall, going back and forth since it can not look more than one tile ahead. However, it will be fairly simple to code and I know it will work without much problems. AND IT WON'T BE 11 IF STATEMENTS LONG! :P&lt;br /&gt;&lt;br /&gt;After I get the code for this working, which probably won't take more than 3 classes, I'll look back into learning A*. If I can come up with working A* AI, then I will have one ghost using random, the middle two using this, and the hardest using A*. If after further consideration I find A* totaly out of reach for the time I have left, I will looking into advancing this AI so it can look more than one tile ahead... which may not be too hard. Or I could just have one do random, the next look one tile ahead, the next two, and the best 3 or more... Once I make it so it can look 2 tiles ahead, any more would be trivial to impliment...&lt;br /&gt;&lt;br /&gt;Hmmm....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111713433122667832?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111713433122667832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111713433122667832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111713433122667832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111713433122667832'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/sigh.html' title='*sigh*'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111712743449802546</id><published>2005-05-26T13:09:00.000-04:00</published><updated>2005-05-26T13:10:34.506-04:00</updated><title type='text'>Double-time the threadhood.</title><content type='html'>So I am currently attempting to work on two different classes.&lt;br /&gt;&lt;br /&gt;I began one, being the playerConnection class, which is to act as the thread with which each player is to connect into the game.  Then I realized how much longer that part was going to be, and switched over to ConnectionManager, which is to handle the sockets being used and manage the input and output to the player.  Essentially the playerConnection (or thread) is to work through the ConnectionManager in order to interact with the other terminals.&lt;br /&gt;&lt;br /&gt;This task is proving to be rather challenging, as sockets and threads are a whole new ordeal for me.  I admit... I plan on poring over code and analysing it in order to find solutions and breakthroughs during the prom itself.&lt;br /&gt;&lt;br /&gt;*flies away into the purple skies and through the candy clouds*&lt;br /&gt;&lt;br /&gt;~Genome&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111712743449802546?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111712743449802546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111712743449802546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111712743449802546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111712743449802546'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/double-time-threadhood.html' title='Double-time the threadhood.'/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111699183083622517</id><published>2005-05-24T23:30:00.000-04:00</published><updated>2005-05-24T23:30:30.843-04:00</updated><title type='text'>Level Complete</title><content type='html'>I have finally completed the detailed draft drawing of the level, all dimensions are exact and size of blocks are all worked out. Tomorrow the draft will be put into a vector format and digitized. Further research will ensue for level 2 along with the client's perspective and take on the design. I hope not too much repremanding will need to be done.&lt;br /&gt;~fruitsnacks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111699183083622517?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111699183083622517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111699183083622517' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111699183083622517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111699183083622517'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/level-complete.html' title='Level Complete'/><author><name>Fruit E. Snacks</name><uri>http://www.blogger.com/profile/00170037971545558701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111696423162125511</id><published>2005-05-24T15:46:00.000-04:00</published><updated>2005-05-24T23:34:28.056-04:00</updated><title type='text'>Level Design</title><content type='html'>I am having some troublesome obstacles with the level as I still try to find the correct dimensions through trial and error. I am near completion though of level 1. The pak_men and level 2 will hopefully ensue.&lt;br /&gt;~fruitsnacks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111696423162125511?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111696423162125511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111696423162125511' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111696423162125511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111696423162125511'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/level-design.html' title='Level Design'/><author><name>Fruit E. Snacks</name><uri>http://www.blogger.com/profile/00170037971545558701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111653900080657783</id><published>2005-05-19T17:42:00.000-04:00</published><updated>2005-05-19T17:44:00.700-04:00</updated><title type='text'>Networking of the Masses</title><content type='html'>BwaHA! I hath returned.&lt;br /&gt;&lt;br /&gt;So, I spoke with said l33t programmer friend a number of days ago, and he sent me a couple classes that work with sockets and networking and the like.  So I have been spending the past few days just reading them and analysing them, and I have now completed the act.&lt;br /&gt;&lt;br /&gt;I plan on reading them again, quicker this time, just to get a better understanding.  But I believe that it is about the time for me to start working out the code required to interact the five computers in the network. Interacting with two will be relatively simple, and in supposed foreknowledge it does not appear as though five computers will be much more difficult.&lt;br /&gt;&lt;br /&gt;So, I have yet to actually hardcode anything, and I likely won't have a chance tonight because of another final project, but the source for networking should be started very soon, I believe.&lt;br /&gt;&lt;br /&gt;*falls into a mysterious hole*&lt;br /&gt;~Genome&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111653900080657783?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111653900080657783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111653900080657783' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111653900080657783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111653900080657783'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/networking-of-masses.html' title='Networking of the Masses'/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111646779307752567</id><published>2005-05-18T21:51:00.000-04:00</published><updated>2005-05-18T21:56:33.080-04:00</updated><title type='text'>One More Time</title><content type='html'>It has come to my attention that I am the only group member that has not yet posted on here. So here it is, folks. Savour the moment.&lt;br /&gt;&lt;br /&gt;I'm doing the general code. Right now, my main goal is to get an image to appear without using applets, so I'm learning the &lt;span style="font-style: italic;"&gt;swing&lt;/span&gt; command. This should let me learn the things I need to. Yes. So I am learning it. Unfortunately, the Java Short Course is not short by any meaning of the word. Yeah...So I'm going to be reading through that and learning the swing command, and I'm going to start with a program to put an image on the screen, than I'll alter the code to make the image move, then I'll add boundaries for the image, then I'll have it so that the image changes as it moves. Thus is my plan.&lt;br /&gt;&lt;br /&gt;And thus have I posted.&lt;br /&gt;&lt;br /&gt;Until next time,&lt;br /&gt;KHAAAAAAAAAAAAAAAAAAAAAAAAAAAN!&lt;br /&gt;~Kataron&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111646779307752567?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111646779307752567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111646779307752567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111646779307752567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111646779307752567'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/one-more-time.html' title='One More Time'/><author><name>Kataron</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111643675507017623</id><published>2005-05-18T13:00:00.000-04:00</published><updated>2005-05-18T13:19:15.076-04:00</updated><title type='text'>Graphic Desgin</title><content type='html'>Today I have started to make the first level of the game in vector format along with some concept art of the pak_man characters. Level creation will be at a speedier process in the future once the grid is complete and block sections have been allocated size on the grid along with pak_man himself.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111643675507017623?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111643675507017623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111643675507017623' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111643675507017623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111643675507017623'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/graphic-desgin.html' title='Graphic Desgin'/><author><name>Fruit E. Snacks</name><uri>http://www.blogger.com/profile/00170037971545558701</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111643509136231769</id><published>2005-05-18T12:41:00.000-04:00</published><updated>2005-06-09T22:14:30.060-04:00</updated><title type='text'>Variables</title><content type='html'>I'm going to keep this post updated with all our cross class variables.&lt;br /&gt;&lt;br /&gt;gstx[] //array of all 0-3 ghost's x co-ord&lt;br /&gt;gsty[] //array of all 0-3 ghost's y co-ord&lt;br /&gt;&lt;br /&gt;pakx //pak_man's x co-ord&lt;br /&gt;paky //pak_man's y co-ord&lt;br /&gt;&lt;br /&gt;gstdir[] //Array of all 0-3 ghost's direction. This is the resulting data from the AI class, given to the movement class&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;gstnum  //Which ghost the ai class will deal with. To be retrieved from the movement class.&lt;br /&gt;*/&lt;br /&gt;// Mitch, does this actually have to be cross-class?&lt;br /&gt;&lt;br /&gt;pakStatus  // either boolean or String. boolean for whether or not he can eat ghosts. String, depending on how we are to include different versions of Pak_man&lt;br /&gt;&lt;br /&gt;more to come...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111643509136231769?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111643509136231769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111643509136231769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111643509136231769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111643509136231769'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/variables.html' title='Variables'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111635008239527552</id><published>2005-05-17T12:23:00.000-04:00</published><updated>2005-05-17T13:14:42.400-04:00</updated><title type='text'>Upon further consideration....</title><content type='html'>It could have worked, but not the best solution...&lt;br /&gt;&lt;br /&gt;Here's what I'm thinking now:&lt;br /&gt;&lt;br /&gt;intarray[][][]         //3d array containing the x and y loc of all intersections, with the third space&lt;br /&gt;                                     used to contain a number from 0 to 7 denoting each type of intersection,&lt;br /&gt;                                     i.e. can go straight only, can go left only, etc. with dead end being 0&lt;br /&gt;/* Intersection types:&lt;br /&gt;        0 = dead end&lt;br /&gt;        1 = forward&lt;br /&gt;        2 =  left&lt;br /&gt;        3 = right&lt;br /&gt;         4 = forward, left&lt;br /&gt;         5 = forward, right&lt;br /&gt;         6 = left, right&lt;br /&gt;         7 = forward, left, right&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;If gst loc = loc of intersection then&lt;br /&gt;    if intersection type = 0,1,2,3 then&lt;br /&gt;        blah, blah ... too simple to pseudo code&lt;br /&gt;&lt;br /&gt;    else if intersection type = 4 then&lt;br /&gt;        method to determin if forward&lt;br /&gt;        method to determin if left&lt;br /&gt;    etc etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Of course, I just now realise the it should be up, down, left, and right on the grid, not forward, left right, backward based on the perception of something on the grid.... which adds more intersection options.&lt;br /&gt;&lt;br /&gt;The methods to determin up, left, right, down will have to do with subtracting the x of pak and ghost and the y.  the methods will be referenced in the overall if statement that chooses the path for the ghost based on what intersection type it's at, thus reducing the amount of actualy code in more than one ways. I have the basic idea on how those methods will work, and will write the pseudo code for them later.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111635008239527552?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111635008239527552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111635008239527552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111635008239527552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111635008239527552'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/upon-further-consideration.html' title='Upon further consideration....'/><author><name>semose</name><uri>http://www.blogger.com/profile/00723847320783341617</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12948535.post-111630423582673683</id><published>2005-05-17T00:37:00.000-04:00</published><updated>2005-05-17T00:51:45.250-04:00</updated><title type='text'>And thus, it begins.</title><content type='html'>After over six hours of persisting and prancing about in such a confined realm of electrons and images, I have completed the most difficult task of all those ahead of us.  Lo and behold! for before you there can be found the fruits of my labour.&lt;br /&gt;&lt;br /&gt;I suppose there is a very small something to give credit to tonight, as otherwise I will have nothing more to write into this post. :)&lt;br /&gt;&lt;br /&gt;We have, this evening, taken the general workload of conceiving and creating this project and divided it into four major section: GUI/graphics, network interface source, AI source, and interaction source.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1)&lt;/b&gt;  Ben Mossman is going to be taking on the role of graphics designer, as he has the most experience and skill in this field.  He is going to draw each sprite for Pak-man's movement, as well as the maps for various levels, the Ghosts, etc.  Ben is also likely going to be our humour-provider in times of dire need.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2)&lt;/b&gt;  The network interface is going to be coded by none other than myself, Jared Tyler.  I plan on using the resources of the Internet, and potentially a hardcopy manual or two, in order to better understand the inner complexities of transfering data between two or more computers in a network.  Along with this, I will also be learning from a l33t programmer friend of mine, as he has had much experience in the world of Threads.  Then... I will put my newfound knowledge to work and unprecedented beauty shall unfold!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3)&lt;/b&gt;  Mitch Pippard, known in some circles as "That ADD Kid", will be gracing us with his ingenuity with Artificial Intelligence.  Rather than the presently well-known use of "sectors" to create the illusion of a Ghost's AI, That ADD Kid is going to make use of his mathematical skillz. He is going to implement Pythagorean's Theorem, comparing the coordinates of both Ghost and Pak-Man.  Using this, the Ghosts will have an all-new form of AI, and he may also give each Ghost a different level of intelligence, thus deciding how difficult it will be to escape said Ghost's lengthy arm of swirling spirit.  Mitch will also eat.  We have a genius on our hands, and he must be fed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4)&lt;/b&gt; And lastly, as always, is Nate Morse.  Our ever-present and eternally wired colleague, who likes to call himself "Kataron", will be slipping himself into the pools of intermediacy.  Nate is going to program the unbearably essential functions that are to interact networking with graphics, graphics with AI, and so forth.  He must delve into the depths of discovery in order to learn what is necessary to print images onto the screen, allow the images to interact with one another, and force the various other functions, such as those pertaining to the networked systems, to immediately control what sorts of graphical beings that must be controlled by opponent players.  Kataron's duty in this undertaking, although seems to be basic at first glance, is actually one of the most important, and possibly most time-consuming.  But we all know Nate, and we all know that he can discpline himself to get it done... Maybe.&lt;br /&gt;&lt;br /&gt;And that, dear reader, is what is currently going on with Team Awesome in the ICS4M class of John F. Ross.  Check in often to stay up to date on our findings and accomplishments, as we are being held under lock and key, threatened with ball and chain or sometimes lance, until we have fulfilled the wish for a massive amount of documentation and understanding.  Please send for help.&lt;br /&gt;&lt;br /&gt;And for future notice, not all posts will be this long. :)  This one was just the beginning, and therefore had a lot to cover.&lt;br /&gt;&lt;br /&gt;I fare thee well!&lt;br /&gt;~vanishes~&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12948535-111630423582673683?l=pak-man.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pak-man.blogspot.com/feeds/111630423582673683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12948535&amp;postID=111630423582673683' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111630423582673683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12948535/posts/default/111630423582673683'/><link rel='alternate' type='text/html' href='http://pak-man.blogspot.com/2005/05/and-thus-it-begins.html' title='And thus, it begins.'/><author><name>Genome</name><uri>http://www.blogger.com/profile/01307243430861601735</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
