<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Computer_Science%2F61b%2FProjects%2FNetwork</id>
	<title>Computer Science/61b/Projects/Network - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Computer_Science%2F61b%2FProjects%2FNetwork"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;action=history"/>
	<updated>2026-05-03T07:27:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=24399&amp;oldid=prev</id>
		<title>Lensovet: Lensovet moved page CS/61b/Projects/Network to Computer Science/61b/Projects/Network</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=24399&amp;oldid=prev"/>
		<updated>2023-02-20T03:51:36Z</updated>

		<summary type="html">&lt;p&gt;Lensovet moved page &lt;a href=&quot;/~sysadmin/w/CS/61b/Projects/Network&quot; class=&quot;mw-redirect&quot; title=&quot;CS/61b/Projects/Network&quot;&gt;CS/61b/Projects/Network&lt;/a&gt; to &lt;a href=&quot;/~sysadmin/w/Computer_Science/61b/Projects/Network&quot; title=&quot;Computer Science/61b/Projects/Network&quot;&gt;Computer Science/61b/Projects/Network&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:51, 20 February 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=3937&amp;oldid=prev</id>
		<title>Lensovet: moved CS 61b/Projects/Network to CS/61b/Projects/Network:&amp;#32;fix CS 61b hierarchy</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=3937&amp;oldid=prev"/>
		<updated>2010-11-14T05:59:46Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/~sysadmin/w/CS_61b/Projects/Network&quot; class=&quot;mw-redirect&quot; title=&quot;CS 61b/Projects/Network&quot;&gt;CS 61b/Projects/Network&lt;/a&gt; to &lt;a href=&quot;/~sysadmin/w/CS/61b/Projects/Network&quot; class=&quot;mw-redirect&quot; title=&quot;CS/61b/Projects/Network&quot;&gt;CS/61b/Projects/Network&lt;/a&gt;: fix CS 61b hierarchy&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:59, 14 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=3266&amp;oldid=prev</id>
		<title>Lensovet: /* Files */ +network</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=3266&amp;oldid=prev"/>
		<updated>2007-09-22T07:19:03Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Files: &lt;/span&gt; +network&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 07:19, 22 September 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Files==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Files==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[[/network]] package&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[/player]] package&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*[[/player]] package&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=2976&amp;oldid=prev</id>
		<title>Lensovet: + description</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=2976&amp;oldid=prev"/>
		<updated>2007-05-22T20:37:07Z</updated>

		<summary type="html">&lt;p&gt;+ description&lt;/p&gt;
&lt;a href=&quot;http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;amp;diff=2976&amp;amp;oldid=2235&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=2235&amp;oldid=prev</id>
		<title>Lensovet: moving from general pg</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Computer_Science/61b/Projects/Network&amp;diff=2235&amp;oldid=prev"/>
		<updated>2006-11-14T03:09:32Z</updated>

		<summary type="html">&lt;p&gt;moving from general pg&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Modules==&lt;br /&gt;
Members: Paul, -bb; Andrew, -fe; Jordan, -er &amp;lt;!-- borokhov, vo, berk --&amp;gt;&lt;br /&gt;
===Gameboard &amp;amp; chips ADT===&lt;br /&gt;
 /* Paul */&lt;br /&gt;
 // Gameboard abstract data type – Gameboard class&lt;br /&gt;
 // '''fields''': public static final int SDEPTH = 10, given to no-depth constructor&lt;br /&gt;
 // '''methods''':&lt;br /&gt;
 // inserts a chip of the given color in the specified place as determined by an x, y coord pair&lt;br /&gt;
 // returns true if the insertion succeeds; false otherwise&lt;br /&gt;
 boolean insertChip(int color, int x, int y)&lt;br /&gt;
 // move a given chip to a specified place as determined by an x, y coord pair&lt;br /&gt;
 // returns true if the move succeeds; false otherwise&lt;br /&gt;
 boolean moveChip(Chip c, int x, int y)&lt;br /&gt;
 // performs a move and returns true/false depending on whether it succeeded&lt;br /&gt;
 boolean performMove(int color, Move m)&lt;br /&gt;
 // returns the Chip at a given location as determined by an x, y coord pair&lt;br /&gt;
 Chip retrieveChip(int x, int y)&lt;br /&gt;
 // returns true if the given move is valid; false otherwise&lt;br /&gt;
 /* Verified conditions:&lt;br /&gt;
 # No chip may be placed in any of the four corners. &lt;br /&gt;
 # No chip may be placed in a goal of the opposite color.&lt;br /&gt;
 # No chip may be placed in a square that is already occupied.&lt;br /&gt;
 # A player may not have more than two chips in a connected group, whether connected orthogonally or diagonally. */&lt;br /&gt;
 boolean validMove(int color, Move m)&lt;br /&gt;
 &lt;br /&gt;
 // Chip abstract data type – Chip class&lt;br /&gt;
 // color field stores the chip's color as a static final int; x and y fields store the chip's x and y coords, respectively&lt;br /&gt;
 // '''fields''': public static final int WHITE/BLACK = 1/0 (this is how we refer to colors, though I don't think anyone would need to)&lt;br /&gt;
 //         public final static int DIMENSION = 8 for the dimensions of the board&lt;br /&gt;
 // '''methods''':&lt;br /&gt;
 // returns the chip's color&lt;br /&gt;
 int getColor()&lt;br /&gt;
 // returns the x coord of the chip&lt;br /&gt;
 int getX()&lt;br /&gt;
 // returns the y coord of the chip&lt;br /&gt;
 int getY()&lt;br /&gt;
 // returns the '''checked''' state of the chip (used for network detection)&lt;br /&gt;
 boolean Checked()&lt;br /&gt;
 // sets the '''checked''' state of the chip to '''newval'''&lt;br /&gt;
 void setChecked(boolean newval)&lt;br /&gt;
&lt;br /&gt;
===Additional methods in Gameboard class===&lt;br /&gt;
This is the real meat of the project.&lt;br /&gt;
 /* Andrew */&lt;br /&gt;
 // generates a 2-d array of moves and resulting gameboards for a given color&lt;br /&gt;
 // @return[0] is an array of Gameboards (Gameboard[x])&lt;br /&gt;
 // @return[1] is an array of Moves corresponding to each board in return[0] (Move[x])&lt;br /&gt;
 // thus the board after performing g.performMove(color, return[1][i]) is return[0][i]&lt;br /&gt;
 Object[][] generateMoves(Gameboard g, int color)&lt;br /&gt;
----&lt;br /&gt;
 /* Paul */&lt;br /&gt;
 // evaluates all possible moves to be generated from the '''this''' board using the minimax algorithm and alpha-beta pruning.&lt;br /&gt;
 // continues searching until it reaches '''depth''' or a win, whichever comes first&lt;br /&gt;
 Move evalTree(int color, int depth)&lt;br /&gt;
----&lt;br /&gt;
 /* Jordan */&lt;br /&gt;
 // evaluates the given network for a winning color&lt;br /&gt;
 // returns a probability of winning if there is no win&lt;br /&gt;
 // returns 999 if WHITE wins, -999 if BLACK wins&lt;br /&gt;
 int winner(Gameboard g)&lt;br /&gt;
&lt;br /&gt;
===Changes to MachinePlayer class===&lt;br /&gt;
====New fields====&lt;br /&gt;
 int color&lt;br /&gt;
 int opponent&lt;br /&gt;
 int depth&lt;br /&gt;
 Gameboard board&lt;br /&gt;
&lt;br /&gt;
====Methods====&lt;br /&gt;
As I mentioned to Jordan over e-mail, all of the methods and constructors in MachinePlayer class become pretty trivial after we write all of the methods in the Gameboard class. I (Paul) have already done all of them, so assuming everything else works as planned, we should be ok.&lt;/div&gt;</summary>
		<author><name>Lensovet</name></author>
		
	</entry>
</feed>