head	1.54;
access;
symbols
	tonic_4:1.54
	tonic_3:1.53
	tonic_2:1.52
	demo:1.50.0.2
	design_report:1.47
	alpha_beta:1.39.0.2
	oral_presentation_freeze:1.10.0.2
	DAVEG_CDP:1.6.0.4
	template_integ:1.6.0.2;
locks; strict;
comment	@# @;


1.54
date	95.12.15.19.44.49;	author hartmans;	state Exp;
branches;
next	1.53;

1.53
date	95.12.15.11.25.14;	author jered;	state Exp;
branches;
next	1.52;

1.52
date	95.12.15.08.12.13;	author hartmans;	state Exp;
branches;
next	1.51;

1.51
date	95.12.14.09.07.06;	author jered;	state Exp;
branches;
next	1.50;

1.50
date	95.12.12.23.29.00;	author hartmans;	state Exp;
branches;
next	1.49;

1.49
date	95.12.12.21.16.54;	author hartmans;	state Exp;
branches;
next	1.48;

1.48
date	95.12.12.14.38.43;	author hartmans;	state Exp;
branches;
next	1.47;

1.47
date	95.12.11.20.39.24;	author hartmans;	state Exp;
branches;
next	1.46;

1.46
date	95.12.11.19.27.59;	author jered;	state Exp;
branches;
next	1.45;

1.45
date	95.12.11.18.49.02;	author hartmans;	state Exp;
branches;
next	1.44;

1.44
date	95.12.11.18.43.19;	author hartmans;	state Exp;
branches;
next	1.43;

1.43
date	95.12.11.14.35.34;	author hartmans;	state Exp;
branches;
next	1.42;

1.42
date	95.12.11.13.26.29;	author hartmans;	state Exp;
branches;
next	1.41;

1.41
date	95.12.11.11.27.14;	author jered;	state Exp;
branches;
next	1.40;

1.40
date	95.12.11.11.20.19;	author jered;	state Exp;
branches;
next	1.39;

1.39
date	95.12.11.07.09.32;	author hartmans;	state Exp;
branches
	1.39.2.1;
next	1.38;

1.38
date	95.12.10.09.55.12;	author hartmans;	state Exp;
branches;
next	1.37;

1.37
date	95.12.10.07.43.33;	author jered;	state Exp;
branches;
next	1.36;

1.36
date	95.12.10.05.14.24;	author hartmans;	state Exp;
branches;
next	1.35;

1.35
date	95.12.10.01.35.52;	author jered;	state Exp;
branches;
next	1.34;

1.34
date	95.12.10.01.19.35;	author jered;	state Exp;
branches;
next	1.33;

1.33
date	95.12.09.19.52.35;	author hartmans;	state Exp;
branches;
next	1.32;

1.32
date	95.12.08.04.37.45;	author hartmans;	state Exp;
branches;
next	1.31;

1.31
date	95.12.08.04.35.10;	author jered;	state Exp;
branches;
next	1.30;

1.30
date	95.12.08.04.20.44;	author hartmans;	state Exp;
branches;
next	1.29;

1.29
date	95.12.08.04.04.16;	author jered;	state Exp;
branches;
next	1.28;

1.28
date	95.12.07.23.24.16;	author jered;	state Exp;
branches;
next	1.27;

1.27
date	95.12.07.23.18.44;	author hartmans;	state Exp;
branches;
next	1.26;

1.26
date	95.12.07.22.41.57;	author jered;	state Exp;
branches;
next	1.25;

1.25
date	95.12.07.19.09.51;	author jered;	state Exp;
branches;
next	1.24;

1.24
date	95.12.06.14.12.07;	author daveg;	state Exp;
branches;
next	1.23;

1.23
date	95.12.06.14.09.08;	author daveg;	state Exp;
branches;
next	1.22;

1.22
date	95.12.04.06.28.33;	author hartmans;	state Exp;
branches;
next	1.21;

1.21
date	95.12.04.06.04.18;	author jered;	state Exp;
branches;
next	1.20;

1.20
date	95.12.03.19.56.59;	author hartmans;	state Exp;
branches;
next	1.19;

1.19
date	95.12.03.05.00.06;	author hartmans;	state Exp;
branches;
next	1.18;

1.18
date	95.12.03.01.17.48;	author hartmans;	state Exp;
branches;
next	1.17;

1.17
date	95.12.02.09.43.23;	author hartmans;	state Exp;
branches;
next	1.16;

1.16
date	95.12.02.06.00.29;	author hartmans;	state Exp;
branches;
next	1.15;

1.15
date	95.12.01.07.15.38;	author hartmans;	state Exp;
branches;
next	1.14;

1.14
date	95.12.01.05.31.32;	author jered;	state Exp;
branches;
next	1.13;

1.13
date	95.12.01.04.50.13;	author hartmans;	state Exp;
branches;
next	1.12;

1.12
date	95.11.30.10.21.27;	author hartmans;	state Exp;
branches;
next	1.11;

1.11
date	95.11.30.09.44.51;	author hartmans;	state Exp;
branches;
next	1.10;

1.10
date	95.11.30.07.15.15;	author jered;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	95.11.30.05.03.18;	author jered;	state Exp;
branches;
next	1.8;

1.8
date	95.11.30.04.26.46;	author hartmans;	state Exp;
branches;
next	1.7;

1.7
date	95.11.28.03.31.31;	author hartmans;	state Exp;
branches;
next	1.6;

1.6
date	95.11.23.05.32.17;	author hartmans;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	95.11.21.07.38.32;	author jered;	state Exp;
branches;
next	1.4;

1.4
date	95.11.21.06.08.51;	author jered;	state Exp;
branches;
next	1.3;

1.3
date	95.11.21.05.22.44;	author hartmans;	state Exp;
branches;
next	1.2;

1.2
date	95.11.20.07.58.55;	author hartmans;	state Exp;
branches;
next	1.1;

1.1
date	95.11.20.06.21.00;	author hartmans;	state Exp;
branches;
next	;

1.6.2.1
date	95.11.24.05.53.12;	author hartmans;	state Exp;
branches;
next	;

1.10.2.1
date	95.11.30.10.22.38;	author hartmans;	state Exp;
branches;
next	;

1.39.2.1
date	95.12.11.08.17.43;	author jered;	state Exp;
branches;
next	1.39.2.2;

1.39.2.2
date	95.12.11.17.25.49;	author jered;	state Exp;
branches;
next	;


desc
@@


1.54
log
@Oops; another fix
@
text
@<<<<<<< ChangeLog
Fri Dec 15 02:40:30 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* Makefile.in (all): Remove that stupid 2 that keeps popping up.

=======
Fri Dec 15 05:03:15 1995  Jered J Floyd  (jered@@vorlon)

	* machine_player.C: Make empty mgnode ptrs on mnodes NULL,
	so that del_tree doesn't need to know how deep the tree is.
	Enabled explicit deletion of machine_player's trees.

	Do the same for the dummy head mnodes.

	Changed player nodes.

	The tree may not be safe to delete after an unapply, but
	I cannot determine why.

Fri Dec 15 02:40:30 1995  Sam Hartman  <hartmans@@tertius.mit.edu>
>>>>>>> 1.53

	* game.C: Implement set_time_left


Thu Dec 14 02:05:50 1995  Jered J Floyd  (jered@@vorlon)

	* machine_player.C: Removed some debugging cerr's for speed.
	Added the 0/1 move limiters.

Tue Dec 12 06:55:22 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Display messages in display.
	Let players know point of view of display.

	* machine_player.C (get): If you set can_go, try_move.

	* game.C: Fix up ref_response.
	When getting a move, subtract 1 from the number of moves if you want the last one. (ref_response and game_rsponse)
	In game::get, first is now the first component, not the entire request.

Mon Dec 11 15:40:11 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* player.C: Fix forfeit

Mon Dec 11 13:55:06 1995  Jered J Floyd  <jered@@limekiller.MIT.EDU>

	* player.C: Fixed Typo.

Mon Dec 11 07:39:55 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Modified order to be board/players

	* machine_player.C: Added useful nondeterminism.
	* human_player.C (get): have start_clock only be called for attached players.

	* player.C: In consider_forfeit(), don't forfeit if you already won.


	* human_player.C: In display use the right set_time request.
	(get): Return something useful when you detach: the top page.
	(get): Implement forfeit.

	* machine_player.C (get): Fix can_go lossage.

Mon Dec 11 05:32:19 1995  Jered J Floyd  <jered@@limekiller.MIT.EDU>

	* machine_player.C: Use timing stuff.

Sun Dec 10 16:58:29 1995  Jered J Floyd  <jered@@limekiller.MIT.EDU>

	* machine_player.C: Adding breadth-first searcher.


Mon Dec 11 07:55:15 1995  Jered J Floyd  <jered@@limekiller.MIT.EDU>

	* machine_player.C: Added useful nondeterminism.

Mon Dec 11 01:09:46 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* misc.C: Fix more template lossage with top_node::open

Sun Dec 10 03:53:25 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Implement attach and detach and yield

Sun Dec 10 02:42:18 1995  Jered J Floyd  (jered@@vorlon)

	* machine_player.C: No! Apply the moves to the current board, darn
	it!

Sun Dec 10 00:10:58 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* player.C: Remove names for unused arguments.

Sat Dec  9 14:48:21 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

Sat Dec  9 20:22:38 1995  Jered J Floyd  <jered@@lola-granola.MIT.EDU>

	* machine_player.C (get): Fixed a typ0.
	machine_player, not board::.
	Fixed more bogosities.

	* player.C (get): Fixed a typ0.

Sat Dec  9 00:04:57 1995  Jered J Floyd  (jered@@vorlon)

	* machine_player.C: Added alpha_beta pruner stuff.


	* game.C: Implement move and opponent_move and show requests.

	* player.C (get): Implement code to deal with setting time.

Fri Dec  8 03:36:25 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* machine_player.C (get): implement set request.

	* human_player.C (get): Detach if you select detach and are attached.

Thu Dec  7 23:37:02 1995  Sam Hartman  <hartmans@@portnoy>

	* player.C: Don't stop the clock if it isn't running

Thu Dec  7 23:27:34 1995  Jered J Floyd  <jered@@bill-the-cat>

	* player.C: Fixed typo.

Thu Dec  7 23:17:56 1995  Sam Hartman  <hartmans@@portnoy>

	* game.C: Fix out_of_game_response

Thu Dec  7 22:59:19 1995  Jered J Floyd  <jered@@bill-the-cat>

	* human_player.C: Fixed some post forms.

Thu Dec  7 18:08:09 1995  Sam Hartman  <hartmans@@portnoy>


	* game.C: Implement uri_with_move()

Thu Dec  7 13:52:11 1995  Jered J Floyd  <jered@@opus.MIT.EDU>

	* human_player.C: Changed uri()'s to uri_with_move()'s.

	* machine_player.C: Added an ACTION to the form. Duh.
	  Changed uri()'s to uri_with_move()'s.

	* human_player.C: Cleaned up display a bit.

	* machine_player.C: Don't display the 'Make a Move' link
	  unless the machine player actually has a move to make!
	  
	  Cleaned up display a bit.

	  Added can_go radio buttons.

	  Added a submit button. Gee, that's helpful, isn't it.

	* human_player.C: Call player for you_moved, opponent_moved,
	  and state_changed (like machine_player does), remove
	  stop_clock()'s, player does those.

	* player.C: Made stop_clock consistent through you_moved,
	  opponent_moved, and state_changed.

	* machine_player.C: Fixed player:: method inconsistencies.

	* human_player.C: Milliseconds. Milliseconds, not microseconds!

	* machine_player.C: Milliseconds. Milliseconds, not microseconds.


	* human_player.C: Revised/rewrote display to be consistent
	  with machine_player, and implemented missing functionality.

	* machine_player.C: machine_player::display, has make_move
	  button when applicable, displays name and position (if
	  applicable.) I need to figure out how to implement can_go
	  changing. Not too hard, but I need to go to Skating now.
	  
	  Added "Time remaining" data.

Wed Dec  6 09:08:22 1995  David D Golombek  <daveg@@bill-the-cat>

	* game.C Fixed bug in apply

	* machine_player.C Added checks clause for failed first get

Mon Dec  4 01:27:33 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Make game_response take a const pointer

Mon Dec  4 00:43:22 1995  Jered J Floyd  (jered@@vorlon)

	* game.C: Preliminary implementation of game::display.

Sun Dec  3 01:23:11 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* Makefile.in (OBJS): Add human_player.o

	* player.C: When the clock stops, you should actually subtract the
        portion of time due to seconds passing, not just that due to
        microseconds passing.

	* game.C(apply): Actually get the opponent in the opponent pointer.

	* human_player.C (get): implement

	* machine_player.C human_player.C: update include files

Sat Dec  2 00:41:12 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* machine_player.C (get): implement
	

	* human_player.C: In attach and detach, modify attached member.  Also, do not call associate on attach.

	* game.C (game): Include image_uri argument

	* player.C (get): Implement set_name and fall through
	(get): Changed to properly unescape a URI.

	* game.C: Implement number_moves (oops)

Fri Dec  1 02:12:15 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Implement game::get mostly.


	* Makefile.in (all): Add fixes so it actually builds


Fri Dec  1 00:15:02 1995  Jered J Floyd  (jered@@vorlon)

	* player.C: Call gettimeofday() properly.


Thu Nov 30 03:49:34 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Associate with players in constructor.

	* machine_player.C (associate): Do something sane with my_index

	* game.C: Implement game::player_index

Thu Nov 30 00:33:37 1995  Jered J Floyd  (jered@@vorlon)

	* machine_player.C: Changed opponent move to take int.

Wed Nov 29 23:55:59 1995  Jered J Floyd  (jered@@vorlon)

	* machine_player.C: Created, added 1-ply timeless player.

Wed Nov 29 17:07:50 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C (game::game): Rename arguments to correspond to what they do.

Mon Nov 27 22:15:14 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Update to deal with players as ints.

	* board.C(clone_part): Implement new method.

Thu Nov 23 00:28:41 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* board.C: implement board::force() const, check to make sure not associated when associating.

Tue Nov 21 02:37:20 1995  Jered J Floyd  <jered@@geeko.mit.edu>

	* board.C: Fixed fill and spacing.

Tue Nov 21 00:29:32 1995  Jered J Floyd  <jered@@spiffy.mit.edu>

	* game.C: Cleaned up some filling.

Tue Nov 21 00:00:53 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C(game::apply):  check winner

Mon Nov 20 01:11:44 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* game.C: Implement forfeit and winner methods.

	
	Make game::move_history return a pointer, fix typos.

	(apply): Call player application methods .

@


1.53
log
@Various changes, machine player name, explicit deletion, etc. WARNING: it _may_ not be safe to delete the game tree after an unapply fails. I can't see why, though.
@
text
@d1 6
d21 1
@


1.52
log
@set_time_left is happy now
@
text
@d1 13
@


1.51
log
@top_node, chess_capture_move, etc fixes, machine_player speedups.
@
text
@d1 5
@


1.50
log
@Update players so they don't display stuff that isn't needed when the other person displays them.
@
text
@d1 5
@


1.49
log
@* game: implement message
* player: fix set_time so it works
* machine_player: move if you can when can_go is set to true
@
text
@d4 1
@


1.48
log
@In misc, insert destructor for chess_capture_move
Game: fix up ref_response and
display of last move.

Fix up bug in handling of first component to game::get that prevents
display and can_go and others from working.

  CVS:
----------------------------------------------------------------------
automatically CVS: CVS: Committing in base CVS: CVS: Modified Files:
----------------------------------------------------------------------
@
text
@d3 4
@


1.47
log
@fix forfeit
@
text
@d1 6
@


1.46
log
@More display modifications.
@
text
@d1 4
@


1.45
log
@Timing fixes, mainly for human_player
@
text
@d1 4
d7 3
@


1.44
log
@Merge in machine player.
@
text
@d3 2
@


1.43
log
@Support forfeit request
@
text
@d3 3
d20 5
@


1.42
log
@* Add templates for rs6k;
this may break everything else.

* Fix can_go in player

* Fix set time.
@
text
@d4 2
@


1.41
log
@Merged good new machine player.
@
text
@d1 6
@


1.40
log
@A working breadth-first searcher
@
text
@d5 4
@


1.39
log
@In game, several compatability protocol fixes.
Also, update to deal with struct open i  templates.
@
text
@d1 4
@


1.39.2.1
log
@Miscellany
@
text
@a0 4
Sun Dec 10 16:58:29 1995  Jered J Floyd  <jered@@limekiller.MIT.EDU>

	* machine_player.C: Adding breadth-first searcher.

@


1.39.2.2
log
@A slightly more sane suggest_time.
@
text
@a0 4
Mon Dec 11 07:55:15 1995  Jered J Floyd  <jered@@limekiller.MIT.EDU>

	* machine_player.C: Added useful nondeterminism.

@


1.38
log
@Web fixes
@
text
@d1 4
@


1.37
log
@Fixed machine_player bogosity.
@
text
@d1 4
@


1.36
log
@Fix compilation problems,
Add several methods to deal with backward
compatibility protocol.
@
text
@d1 5
@


1.35
log
@Fixed many bogosities.
@
text
@d1 6
a18 1
	* human_player.C: Moved 'Detach' link below Name field.
d20 1
a20 5
	* machine_player.C: Added a 'Set Time' button.

	* human_player.C: Added a 'Set Time' button.

Sat Dec  9 14:48:21 1995  Sam Hartman  <hartmans@@tertius.mit.edu>
@


1.34
log
@New machine player.
@
text
@d1 8
@


1.33
log
@Implement set_time and set (set?can_go=foo)
Fix error in detach handling.


l
@
text
@d1 10
@


1.32
log
@Don't stop clock unless it is running
@
text
@d1 10
@


1.31
log
@Fixed a typo
@
text
@d1 4
@


1.30
log
@Insert clock debugging code.
Fix resync URI.
@
text
@d1 4
@


1.29
log
@Many piddly things. Read the Changelogs.
@
text
@d1 4
@


1.28
log
@More display updates
@
text
@d1 4
@


1.27
log
@Implement uri_with_move()
@
text
@d8 1
d11 1
@


1.26
log
@Lots of display fixes and changes.
@
text
@d1 5
d8 1
d34 1
@


1.25
log
@Improvements to machine_player and human_player display methods.
(More work to do on machine_player, will do after skating.)

Noted lots of warnings about passing strings in ...'s, is this going
to be a problem?
@
text
@d3 26
@


1.24
log
@game mod
@
text
@d1 12
@


1.23
log
@machine_player mod
@
text
@d3 2
@


1.22
log
@Fix const error so game compiles again
@
text
@d1 4
@


1.21
log
@Prelim. impl. of game::display.
@
text
@d1 4
@


1.20
log
@Fix timing in player,
add get to human_player,
fix error in game::apply
@
text
@d1 4
@


1.19
log
@Tidy up human_player,
implement machine_player::get
@
text
@d1 14
@


1.18
log
@Implement image_base and associated
constructor change.
@
text
@d3 5
@


1.17
log
@Implement player::get
@
text
@d3 2
d6 1
@


1.16
log
@Add game::get
@
text
@d3 2
@


1.15
log
@Fix build procedure
@
text
@d1 4
d7 3
@


1.14
log
@gettimeofday, filenode fixes.
@
text
@d1 5
d10 1
@


1.13
log
@Associate with players in game
@
text
@d1 4
@


1.12
log
@fix machine player
@
text
@d3 2
@


1.11
log
@change stuff
@
text
@d3 2
@


1.10
log
@Did enough that tic_board should work now.
@
text
@d1 4
@


1.10.2.1
log
@And the same on this branch
@
text
@a0 6
Thu Nov 30 03:49:34 1995  Sam Hartman  <hartmans@@tertius.mit.edu>

	* machine_player.C (associate): Do something sane with my_index

	* game.C: Implement game::player_index

@


1.9
log
@Added machine_player.{h,C}. Other minor things.
@
text
@d1 4
@


1.8
log
@player:  Deal with clock stuff
game: fix argument bogosity
@
text
@d1 4
@


1.7
log
@Change players to be indexes, add a few new methods.
@
text
@d1 4
@


1.6
log
@Implement const force,
add checks clause
@
text
@d1 6
@


1.6.2.1
log
@Add support for no-implicit-templates
and build ../lib/libbase.a
@
text
@a2 2
	* Makefile.in (all): Build libbase.a.

@


1.5
log
@Fixed some fill and spacing stuff, other minor things in board, test_board.
@
text
@d1 4
@


1.4
log
@Added test_board.C, and Changelog, Updated TODO.
Modified game.C.
@
text
@d1 4
@


1.3
log
@Lots of fixes to make stuff compile
@
text
@d1 4
@


1.2
log
@Implemented calls to you_move and opponent_moved.
@
text
@d1 4
d10 1
@


1.1
log
@Implement forfeit and winner


1) change state method
2) implications for move ordering, etc.
@
text
@d5 1
d7 2
@
