Difference between revisions of "Tutorial Project Evolutions"

From wiki.visual-prolog.com

Line 72: Line 72:
 
|type=project
 
|type=project
 
|release=8
 
|release=8
|description=[[Game Polyline. release 8|New: Code modified. The structure of the project reorganized. Each class placed to the separate package.]]
+
|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 80: Line 80:
 
|type=project
 
|type=project
 
|release=9
 
|release=9
|description=[[Game Polyline. release 9|New: Code modified. Each class generates the Object.]]
+
|description=[[Game Polyline. releases 8-10|New: Code modified. Each class generates the Object.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''
Line 88: Line 88:
 
|type=project
 
|type=project
 
|release=10
 
|release=10
|description=[[Game Polyline. release 9|New. Code modified. Communication with players based on events. ''NotificationAgency pack'' used.]]
+
|description=[[Game Polyline. releases 8-10|New. Code modified. Communication with players based on events. ''NotificationAgency pack'' used.]]
 
|target=Console
 
|target=Console
 
|pe='''+'''
 
|pe='''+'''

Revision as of 11:48, 8 February 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
file 1 Players: computer and human. The initial move by choice. Console
file 2 New: Players - objects. The initial move of the computer - random. Console
file 3 New: N players. The type of the player (computer or human) - by choice. Console
file 4 New: Safe computer's move - random. The code of the player-computer restructured. Console
file 5 New: Computer's move based on the prognosis on the depth K moves. 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 7 New: MultiLanguage feature. The code reorganized. Console
project 8 New: Code modified. The structure of the project reorganized. Each class placed to the separate package. Console
project 9 New: Code modified. Each class generates the Object. Console
project 10 New. Code modified. Communication with players based on events. NotificationAgency pack used. Console