Risk CVS Info
Working file: librisk.c head: 1.30
Working file: risk.c head: 1.16
Working file: risk.h head: 1.13
Working file: risk_bot.c head: 1.7
Working file: risk_cards.c head: 1.8
Working file: risk_cmds.h head: 1.9
Working file: risk_info.c head: 1.1
Working file: risk_setup.c head: 1.5
Working file: risk_turn.c head: 1.20
RCS file: /home/erik/.cvs/oo-server/libs/risk/librisk.c,v
Working file: librisk.c
head: 1.30
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 30; selected revisions: 30
description:
----------------------------
revision 1.30
date: 2002/10/29 21:35:35; author: erik; state: Exp; lines: +6 -0
fixed up turn indication
instead of printing whos turn finished, it prints whos turn it currently is
----------------------------
revision 1.29
date: 2002/10/29 00:08:49; author: erik; state: Exp; lines: +4 -3
fixed but with chatting (telnet clients received INFO: tag)
fixed Send to use bot_receive instead of sockets
----------------------------
revision 1.28
date: 2002/10/21 19:51:49; author: erik; state: Exp; lines: +1 -1
only call next_player if the game is started
----------------------------
revision 1.27
date: 2002/10/21 05:00:57; author: erik; state: Exp; lines: +16 -5
send INFO only to applets
----------------------------
revision 1.26
date: 2002/10/20 22:20:25; author: erik; state: Exp; lines: +10 -17
fixes to player leaving problem
----------------------------
revision 1.25
date: 2002/10/10 16:52:54; author: erik; state: Exp; lines: +3 -1
finally handling text messaging
----------------------------
revision 1.24
date: 2002/10/10 15:26:29; author: erik; state: Exp; lines: +2 -1
send PICK message to starting player
(game would hang because applet wouldn't enter territory picking state)
----------------------------
revision 1.23
date: 2002/09/27 19:53:33; author: erik; state: Exp; lines: +1 -1
fixed bug with returning cards to the deck when leaving
----------------------------
revision 1.22
date: 2002/09/22 05:12:36; author: erik; state: Exp; lines: +24 -26
switched to internal ordered player list
fixed recursive bugs in game_leave
----------------------------
revision 1.21
date: 2002/09/15 20:17:23; author: erik; state: Exp; lines: +8 -0
sent initial territory distribution to players
----------------------------
revision 1.20
date: 2002/09/13 21:10:23; author: erik; state: Exp; lines: +1 -1
fixed bug in applet-version of allocation/troop bonus displays
----------------------------
revision 1.19
date: 2002/09/11 20:50:33; author: erik; state: Exp; lines: +27 -12
added applet-friendly messages
----------------------------
revision 1.18
date: 2002/09/09 19:44:20; author: erik; state: Exp; lines: +1 -1
fixed bug: wrong number of params to sprintf
----------------------------
revision 1.17
date: 2002/09/08 23:14:56; author: erik; state: Exp; lines: +2 -10
added place_troops
----------------------------
revision 1.16
date: 2002/09/08 21:04:29; author: erik; state: Exp; lines: +3 -3
changed some command prefixes to cmd_ instead of game_
----------------------------
revision 1.15
date: 2002/09/04 06:20:33; author: erik; state: Exp; lines: +1 -0
added /map command
----------------------------
revision 1.14
date: 2002/09/04 06:20:09; author: erik; state: Exp; lines: +9 -11
minor code cleanup
----------------------------
revision 1.13
date: 2002/08/29 17:10:53; author: erik; state: Exp; lines: +32 -17
fixed bugs with players leaving in mid-game
----------------------------
revision 1.12
date: 2002/08/28 20:51:30; author: erik; state: Exp; lines: +16 -6
added more checking for when a player leaves a game.
problmes arose when a player left while still distributing territories.
----------------------------
revision 1.11
date: 2002/08/28 05:42:15; author: erik; state: Exp; lines: +20 -15
added manual territory distribution
----------------------------
revision 1.10
date: 2002/08/27 22:41:46; author: erik; state: Exp; lines: +5 -4
added meaninful help message
----------------------------
revision 1.9
date: 2002/08/27 19:52:41; author: erik; state: Exp; lines: +16 -12
added hooks for manual territoriy picking
----------------------------
revision 1.8
date: 2002/08/27 19:46:48; author: erik; state: Exp; lines: +3 -0
added printing bonus sequence when player joins a game
----------------------------
revision 1.7
date: 2002/08/27 17:54:59; author: erik; state: Exp; lines: +2 -0
added bonus setup
----------------------------
revision 1.6
date: 2002/08/26 20:54:21; author: erik; state: Exp; lines: +5 -0
added attack/defence dice commands + attack mode command
----------------------------
revision 1.5
date: 2002/08/22 21:01:11; author: erik; state: Exp; lines: +10 -7
reorganized game commands
----------------------------
revision 1.4
date: 2002/08/21 21:34:08; author: erik; state: Exp; lines: +7 -1
fixed bug in incorrect income phases
----------------------------
revision 1.3
date: 2002/08/21 20:50:35; author: erik; state: Exp; lines: +2 -0
added leave hooks
----------------------------
revision 1.2
date: 2002/08/20 15:59:01; author: erik; state: Exp; lines: +2 -2
end the game when there's only one player left
----------------------------
revision 1.1
date: 2002/08/19 20:31:52; author: erik; state: Exp;
initial version
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk.c,v
Working file: risk.c
head: 1.16
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 16; selected revisions: 16
description:
----------------------------
revision 1.16
date: 2002/09/20 21:26:29; author: erik; state: Exp; lines: +3 -3
switched to using internal ordered player list
----------------------------
revision 1.15
date: 2002/09/16 16:03:30; author: erik; state: Exp; lines: +2 -2
using correct bonus sequence (would be reporting one-off)
----------------------------
revision 1.14
date: 2002/09/11 20:50:33; author: erik; state: Exp; lines: +2 -0
added applet-friendly messages
----------------------------
revision 1.13
date: 2002/09/08 23:14:17; author: erik; state: Exp; lines: +2 -0
moved msg buffer from risk_cmds.c
----------------------------
revision 1.12
date: 2002/09/08 21:20:39; author: erik; state: Exp; lines: +0 -11
moved card-related functionality to risk_cards.c
----------------------------
revision 1.11
date: 2002/09/04 06:21:05; author: erik; state: Exp; lines: +6 -4
minor code cleanup
----------------------------
revision 1.10
date: 2002/08/28 21:36:56; author: erik; state: Exp; lines: +2 -1
added WAIT state ( new games would default to already started in TAKE)
----------------------------
revision 1.9
date: 2002/08/27 19:52:41; author: erik; state: Exp; lines: +1 -1
added hooks for manual territoriy picking
----------------------------
revision 1.8
date: 2002/08/27 19:48:53; author: erik; state: Exp; lines: +11 -1
added printing of bonus sequence
----------------------------
revision 1.7
date: 2002/08/27 17:55:00; author: erik; state: Exp; lines: +11 -0
added bonus setup
----------------------------
revision 1.6
date: 2002/08/27 16:52:01; author: erik; state: Exp; lines: +4 -1
include use of player-specified attack + defense dice
----------------------------
revision 1.5
date: 2002/08/26 20:53:22; author: erik; state: Exp; lines: +22 -22
added proper indenting for attack code
----------------------------
revision 1.4
date: 2002/08/22 21:00:54; author: erik; state: Exp; lines: +1 -1
re-enabled full troop placement sequence for 2 player games
----------------------------
revision 1.3
date: 2002/08/20 15:59:19; author: erik; state: Exp; lines: +2 -2
corrected some territory names
----------------------------
revision 1.2
date: 2002/08/20 15:20:24; author: erik; state: Exp; lines: +1 -1
added getting a card after captuing a territory
----------------------------
revision 1.1
date: 2002/08/19 20:31:52; author: erik; state: Exp;
initial version
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk_bot.c,v
Working file: risk_bot.c
head: 1.7
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
----------------------------
revision 1.7
date: 2002/11/12 21:37:39; author: erik; state: Exp; lines: +9 -193
moved AI code to new bot_*.c files
----------------------------
revision 1.6
date: 2002/11/06 20:52:22; author: erik; state: Exp; lines: +65 -14
added code for recursive search
added search for owned continents
----------------------------
revision 1.5
date: 2002/10/30 18:58:46; author: erik; state: Exp; lines: +56 -5
more aggressive fortifying tactics (lays groundwork for attack on next turn)
----------------------------
revision 1.4
date: 2002/10/29 23:41:04; author: erik; state: Exp; lines: +15 -4
added skeletal fortification code
----------------------------
revision 1.3
date: 2002/10/29 23:05:25; author: erik; state: Exp; lines: +27 -1
added simple attacking
----------------------------
revision 1.2
date: 2002/10/29 19:04:01; author: erik; state: Exp; lines: +49 -5
added code to turn in a set of cards when necessary
----------------------------
revision 1.1
date: 2002/10/29 05:53:42; author: erik; state: Exp;
initial version
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk_cards.c,v
Working file: risk_cards.c
head: 1.8
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
----------------------------
revision 1.8
date: 2002/10/21 22:56:02; author: erik; state: Exp; lines: +4 -4
broadcast 'set turned in' before territory bonus updates
----------------------------
revision 1.7
date: 2002/10/21 19:51:32; author: erik; state: Exp; lines: +22 -6
sent out updated troop numbers when a set is turned in
----------------------------
revision 1.6
date: 2002/09/16 01:09:44; author: erik; state: Exp; lines: +4 -0
send "turn in a set" if the player still has > 5 cards after turning in a set
----------------------------
revision 1.5
date: 2002/09/16 01:08:31; author: erik; state: Exp; lines: +4 -3
sent proper turn message to applet after turning in a set of cards
----------------------------
revision 1.4
date: 2002/09/11 20:50:34; author: erik; state: Exp; lines: +18 -7
added applet-friendly messages
----------------------------
revision 1.3
date: 2002/09/09 19:55:13; author: erik; state: Exp; lines: +4 -1
added broadcast messages for /set, /take, /place, /done
----------------------------
revision 1.2
date: 2002/09/09 16:08:35; author: erik; state: Exp; lines: +1 -1
switched from fixed bonus sequence to bonus based on picked in setup
----------------------------
revision 1.1
date: 2002/09/08 21:20:39; author: erik; state: Exp;
moved card-related functionality to risk_cards.c
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk_info.c,v
Working file: risk_info.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/09/08 22:54:55; author: erik; state: Exp;
moved info-related commands to risk_info.c
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk_setup.c,v
Working file: risk_setup.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
----------------------------
revision 1.5
date: 2002/09/24 21:31:29; author: erik; state: Exp; lines: +3 -3
changed 'auto' to 'random'
----------------------------
revision 1.4
date: 2002/09/24 16:03:18; author: erik; state: Exp; lines: +1 -1
offset to bonus string was one off
----------------------------
revision 1.3
date: 2002/09/16 16:03:58; author: erik; state: Exp; lines: +1 -0
store maxlosses parameter back to player settings
----------------------------
revision 1.2
date: 2002/09/11 20:50:34; author: erik; state: Exp; lines: +8 -4
added applet-friendly messages
----------------------------
revision 1.1
date: 2002/09/08 22:52:21; author: erik; state: Exp;
moved setup related commands ro risk_setup.c
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk_turn.c,v
Working file: risk_turn.c
head: 1.20
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 20; selected revisions: 20
description:
----------------------------
revision 1.20
date: 2002/11/06 20:51:55; author: erik; state: Exp; lines: +1 -1
fixed bug with turn number being incorrect when killing a player
----------------------------
revision 1.19
date: 2002/10/30 18:58:24; author: erik; state: Exp; lines: +7 -1
added 'captures from' to telnet message
added prompt to turn in a set after killifying a player
----------------------------
revision 1.18
date: 2002/10/30 17:27:55; author: erik; state: Exp; lines: +1 -1
calculate a player's income just as their turn starts
----------------------------
revision 1.17
date: 2002/10/29 21:35:35; author: erik; state: Exp; lines: +8 -9
fixed up turn indication
instead of printing whos turn finished, it prints whos turn it currently is
----------------------------
revision 1.16
date: 2002/10/29 20:58:16; author: erik; state: Exp; lines: +4 -3
DONE was sent to wrong player
switched order of 'defeated' and 'leaves' messages
----------------------------
revision 1.15
date: 2002/10/25 21:40:05; author: erik; state: Exp; lines: +1 -1
boot player from the game before printing the defeated message
----------------------------
revision 1.14
date: 2002/10/25 15:47:49; author: erik; state: Exp; lines: +2 -4
fixed logic bug: DONE wasn't being sent to applets, only telnet session
removed some verbose output
----------------------------
revision 1.13
date: 2002/10/20 22:20:25; author: erik; state: Exp; lines: +28 -21
fixes to player leaving problem
----------------------------
revision 1.12
date: 2002/10/10 16:37:00; author: erik; state: Exp; lines: +3 -0
send out 'player defeated' to other players
----------------------------
revision 1.11
date: 2002/10/10 15:26:45; author: erik; state: Exp; lines: +1 -1
sent "place troops" message to correct player
----------------------------
revision 1.10
date: 2002/09/26 20:14:30; author: erik; state: Exp; lines: +1 -0
sent DONE to defeated player (closes the window)
----------------------------
revision 1.9
date: 2002/09/20 21:26:29; author: erik; state: Exp; lines: +4 -3
switched to using internal ordered player list
----------------------------
revision 1.8
date: 2002/09/16 16:04:55; author: erik; state: Exp; lines: +1 -1
turn done was broadcast too early
----------------------------
revision 1.7
date: 2002/09/16 01:40:25; author: erik; state: Exp; lines: +1 -1
fixed bug with initial troop numbering
----------------------------
revision 1.6
date: 2002/09/15 20:17:01; author: erik; state: Exp; lines: +6 -5
switched from c->id to c->name for PLACE, CAP, and DONE messages
switched DONE to TDONE
sent an ATTK message to clients
----------------------------
revision 1.5
date: 2002/09/15 03:04:33; author: erik; state: Exp; lines: +2 -2
fixed but with telling next person how many territories are left
----------------------------
revision 1.4
date: 2002/09/11 20:50:34; author: erik; state: Exp; lines: +22 -12
added applet-friendly messages
----------------------------
revision 1.3
date: 2002/09/09 19:55:13; author: erik; state: Exp; lines: +7 -2
added broadcast messages for /set, /take, /place, /done
----------------------------
revision 1.2
date: 2002/09/08 23:14:56; author: erik; state: Exp; lines: +21 -10
added place_troops
----------------------------
revision 1.1
date: 2002/09/08 22:56:45; author: erik; state: Exp;
moved (remaining) turn-related commands to risk_turn.c
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk.h,v
Working file: risk.h
head: 1.13
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 13; selected revisions: 13
description:
----------------------------
revision 1.13
date: 2002/09/20 21:26:29; author: erik; state: Exp; lines: +0 -1
switched to using internal ordered player list
----------------------------
revision 1.12
date: 2002/09/11 20:50:33; author: erik; state: Exp; lines: +3 -1
added applet-friendly messages
----------------------------
revision 1.11
date: 2002/09/09 16:08:35; author: erik; state: Exp; lines: +1 -0
switched from fixed bonus sequence to bonus based on picked in setup
----------------------------
revision 1.10
date: 2002/09/08 21:20:39; author: erik; state: Exp; lines: +2 -0
moved card-related functionality to risk_cards.c
----------------------------
revision 1.9
date: 2002/08/28 21:36:56; author: erik; state: Exp; lines: +1 -1
added WAIT state ( new games would default to already started in TAKE)
----------------------------
revision 1.8
date: 2002/08/28 05:42:15; author: erik; state: Exp; lines: +1 -1
added manual territory distribution
----------------------------
revision 1.7
date: 2002/08/27 19:52:41; author: erik; state: Exp; lines: +1 -0
added hooks for manual territoriy picking
----------------------------
revision 1.6
date: 2002/08/27 19:48:03; author: erik; state: Exp; lines: +2 -0
added bonus seuqnce listing
----------------------------
revision 1.5
date: 2002/08/27 17:55:00; author: erik; state: Exp; lines: +2 -0
added bonus setup
----------------------------
revision 1.4
date: 2002/08/27 16:52:01; author: erik; state: Exp; lines: +1 -1
include use of player-specified attack + defense dice
----------------------------
revision 1.3
date: 2002/08/21 21:37:15; author: erik; state: Exp; lines: +1 -1
added turning in a set of cards at the begining of a trun
and forcing a set to be turned in when there's more than 4 cards
----------------------------
revision 1.2
date: 2002/08/20 15:20:24; author: erik; state: Exp; lines: +1 -1
added getting a card after captuing a territory
----------------------------
revision 1.1
date: 2002/08/19 20:31:52; author: erik; state: Exp;
initial version
=============================================================================
RCS file: /home/erik/.cvs/oo-server/libs/risk/risk_cmds.h,v
Working file: risk_cmds.h
head: 1.9
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
----------------------------
revision 1.9
date: 2002/10/20 22:20:25; author: erik; state: Exp; lines: +1 -0
fixes to player leaving problem
----------------------------
revision 1.8
date: 2002/09/09 16:07:57; author: erik; state: Exp; lines: +0 -2
removed deprecated cmd_start
----------------------------
revision 1.7
date: 2002/09/08 23:14:56; author: erik; state: Exp; lines: +1 -0
added place_troops
----------------------------
revision 1.6
date: 2002/09/08 21:04:29; author: erik; state: Exp; lines: +3 -3
changed some command prefixes to cmd_ instead of game_
----------------------------
revision 1.5
date: 2002/09/04 06:21:31; author: erik; state: Exp; lines: +2 -1
added /map command
----------------------------
revision 1.4
date: 2002/08/27 19:52:42; author: erik; state: Exp; lines: +1 -0
added hooks for manual territoriy picking
----------------------------
revision 1.3
date: 2002/08/27 17:55:00; author: erik; state: Exp; lines: +2 -0
added bonus setup
----------------------------
revision 1.2
date: 2002/08/26 20:54:21; author: erik; state: Exp; lines: +4 -0
added attack/defence dice commands + attack mode command
----------------------------
revision 1.1
date: 2002/08/19 20:31:53; author: erik; state: Exp;
initial version
=============================================================================
$ cvs.html Fri Jan 16 00:00:00 MST 2004 erik Exp $