Difference between revisions of "Tutorial Project Evolutions"

From wiki.visual-prolog.com

m (Categorized)
m
Line 96: Line 96:
 
|}
 
|}
  
 
[[Category:Games 1+]]
 
 
[[Category:PolyLine Evolutions]]
 
[[Category:PolyLine Evolutions]]
  
 
[[ru:Игра "Ползунок"]]
 
[[ru:Игра "Ползунок"]]

Revision as of 20:45, 3 November 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