Difference between revisions of "Tutorial Project Evolutions"

From wiki.visual-prolog.com

m
m
Line 15: Line 15:
  
 
{{example_chain
 
{{example_chain
|type=file
+
|type=project
|release=1
+
|release=11
|description=[[Game Polyline. release 1|Players: computer and human. The initial move by choice.]]
+
|description=[[Game Polyline. Release 11|Projects family with different kids of UI - Console, ObjectConsole, Windows. The usage of Libraries. New Player added.]]
 +
|target=Con/Win
 +
|pe='''+'''
 +
}}
 +
 
 +
{{example_chain
 +
|type=project
 +
|release=10
 +
|description=[[Game Polyline. releases 8-10|New. Code modified. Communication with players based on events. ''NotificationAgency pack'' used.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 23: Line 31:
  
 
{{example_chain
 
{{example_chain
|type=file
+
|type=project
|release=2
+
|release=9
|description=[[Game Polyline. release 2|New: Players - objects. The initial move of the computer - random.]]
+
|description=[[Game Polyline. releases 8-10|New: Code modified. Each class generates the Object.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 31: Line 39:
  
 
{{example_chain
 
{{example_chain
|type=file
+
|type=project
|release=3
+
|release=8
|description=[[Game Polyline. release 3|New: N players. The type of the player (computer or human) - by choice.]]
+
|description=[[Game Polyline. releases 8-10|New: Code modified. The structure of the project reorganized. Each class placed to the separate package.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 40: Line 48:
 
{{example_chain
 
{{example_chain
 
|type=file
 
|type=file
|release=4
+
|release=7
|description=[[Game Polyline. release 4|New: Safe computer's move - random. The code of the player-computer restructured.]]
+
|description=[[Game Polyline. release 7|New: MultiLanguage feature. The code reorganized.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 48: Line 56:
 
{{example_chain
 
{{example_chain
 
|type=file
 
|type=file
|release=5
+
|release=6
|description=[[Game Polyline. release 5|New: Computer's move based on the prognosis on the depth ''K'' moves. The code reorganized.]]
+
|description=[[Game Polyline. release 6|New: Multiple plays mode. Easy expansion of the list of players. The size of the field mutable. The code reorganized.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 56: Line 64:
 
{{example_chain
 
{{example_chain
 
|type=file
 
|type=file
|release=6
+
|release=5
|description=[[Game Polyline. release 6|New: Multiple plays mode. Easy expansion of the list of players. The size of the field mutable. The code reorganized.]]
+
|description=[[Game Polyline. release 5|New: Computer's move based on the prognosis on the depth ''K'' moves. The code reorganized.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 64: Line 72:
 
{{example_chain
 
{{example_chain
 
|type=file
 
|type=file
|release=7
+
|release=4
|description=[[Game Polyline. release 7|New: MultiLanguage feature. The code reorganized.]]
+
|description=[[Game Polyline. release 4|New: Safe computer's move - random. The code of the player-computer restructured.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 71: Line 79:
  
 
{{example_chain
 
{{example_chain
|type=project
+
|type=file
|release=8
+
|release=3
|description=[[Game Polyline. releases 8-10|New: Code modified. The structure of the project reorganized. Each class placed to the separate package.]]
+
|description=[[Game Polyline. release 3|New: N players. The type of the player (computer or human) - by choice.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 79: Line 87:
  
 
{{example_chain
 
{{example_chain
|type=project
+
|type=file
|release=9
+
|release=2
|description=[[Game Polyline. releases 8-10|New: Code modified. Each class generates the Object.]]
+
|description=[[Game Polyline. release 2|New: Players - objects. The initial move of the computer - random.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 87: Line 95:
  
 
{{example_chain
 
{{example_chain
|type=project
+
|type=file
|release=10
+
|release=1
|description=[[Game Polyline. releases 8-10|New. Code modified. Communication with players based on events. ''NotificationAgency pack'' used.]]
+
|description=[[Game Polyline. release 1|Players: computer and human. The initial move by choice.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''

Revision as of 16:07, 9 December 2008

This is an example of the evolution of the project development beginning from the initial idea till the today status. A very easy game has been chosen as the basic idea. We do not know the initial name of this game so we call it Polyline.

Each release expands the functionality of the application. Moving along the way the code is extended, modified and restructured or only restructured and modified.

Game description

The game is played on an M x N board.

Game rules

  • Each player on his turn adds a new point. The point must prolong the existing Polyline (or start the Polyline, if it doesn't exist).
  • The resulting Polyline must be non-interrupted and each move can be taken in any of end of the line.
  • The player, which locks the line (the point is set on the polyline), wins.
SRC Release Short Description User
Interface
PE
project 11 Projects family with different kids of UI - Console, ObjectConsole, Windows. The usage of Libraries. New Player added. Con/Win
project 10 New. Code modified. Communication with players based on events. NotificationAgency pack used. Console
project 9 New: Code modified. Each class generates the Object. Console
project 8 New: Code modified. The structure of the project reorganized. Each class placed to the separate package. Console
file 7 New: MultiLanguage feature. The code reorganized. Console
file 6 New: Multiple plays mode. Easy expansion of the list of players. The size of the field mutable. The code reorganized. Console
file 5 New: Computer's move based on the prognosis on the depth K moves. The code reorganized. Console
file 4 New: Safe computer's move - random. The code of the player-computer restructured. Console
file 3 New: N players. The type of the player (computer or human) - by choice. Console
file 2 New: Players - objects. The initial move of the computer - random. Console
file 1 Players: computer and human. The initial move by choice. Console