File: TODO

package info (click to toggle)
ksirk 4%3A16.04.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,204 kB
  • ctags: 9,209
  • sloc: cpp: 63,593; ansic: 23,077; xml: 661; perl: 180; sh: 67; makefile: 5
file content (199 lines) | stat: -rw-r--r-- 10,311 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
  * Make Jabber error messages user visible
  * When conquering a country, it should be invaded with at least the number of armies used to attack
  * [DONE] Use kwallet to store password(s)
  * When last armies is placed, should display 0 instead of 1 armies left
  * When starting a new game, should reinitialize the save file name

Before KDE4.3:
  * Correct Arena bugs
  * Placement of sprites during fight in network games
  * Add a Cancel button on the invasion slider
  * Use widgets on graphics view for invasion slider ?
  * Correct size of the right panel
  * Refactor the right panel
  * [DONE] Don't show Invasion slider when game is won
  * Rewrite AI code or at least correct most problems related in bug #170777. Volunteers wanted!
  * [DONE] Previous/Next in start new game as described in bug #170774
  * Menu entry to start the skin editor from the game
  * Boost (speed up) playing over Jabber
  * Skin editor: documentation
  * [DONE] Skin editor: contextual help (tooltips and whatsthis)
  * Skin editor: check skin, check pool, coherence tests
  * Skin editor: add a "New" button, creating a copy of the default skin
  * Skin editor: reload if the pool.svg file is modified
  * Skin editor: button to start a SVG editor (the system default) on the pool
  * Skin editor: ONU::pixmapForId should produce a default pixmap in case of an unknown id
   
Before KDE4.2:
  * [DONE] add visual feedback for map scrolling

Before KDE4.1:
  * [DONE] With computer only players, first player is skipped when placing armies at 
    turn change
  * [DONE] Placement of the left firing cannon
  * [DONE][BUG 162033] change size of "will display goal" dialog (kdelibs bug?)
  * [DONE by it-s][HELP NEEDED] sprites should be enhanced
  * [HELP NEEDED] max size of the window should be limited by the map size
  * [DONE] correct the layout of initial window (with main menu) when
    resizing
  * [DONE] translate all remaining French strings in skins
  * [DONE] attack auto + defense auto does not work in network mode
  * [DONE] stop attack auto should be displayed only to attacker's client
  * [DONE] crash on quit after using the arena
  * [DONE] still some sprites handling bugs in arena mode
  * [DONE] set an icon to the preferences dialog page
  * [DONE] status bar coherence (current player for example and number of armies to place)
  * [DONE] missing status bar information
  * [DONE] hide/show or disable/enable the next player button in the toolbar
  * [DONE] solve the warning "Class AIPlayer inherits from two QObject subclasses Player and QThread. This is not supported!" by making the thread a member
  * [DONE] crash when loading the target player when the goal is to destroy it
  * [DONE] hide right window content when changing current player but show
    it again when necessary
  * [DONE] recycling does not work in network mode
  * [DONE] test if player played in the current turn does not work for non admin clients
  * [DONE] right window not updated when changing player distributing armies in
    network mode
  * [DONE] save action should confirm before replacing a file
  * [DONE] save action should reuse the previously used filename without asking again
  * [DONE] test AI in network games
  * [DONE] remove quit action from attack context menu
  * [DONE] disable use of arena in network games for  KDE 4.1
  * [DONE] slider bug in network mode (wrong nb armies)
  * [DONE] make attack auto work for non admin clients
  * [DONE] show invasion slider dialog on the attacker client
  * [DONE] make work again the network games
  * [DONE] add an option to show number of armies directly on the countries
  * [DONE] hovering should display the number of armies on a country
  * [DONE] create a skin copy of the default one but with less animations
  * [DONE] display only the first frame of flags in player setup dialog
  * [DONE] moving armies should count as an action (avoid end of turn
    confirmation that allows to cheat)
  * [DONE] invasion slider should work when clicked also (and not only if slided)
  * [DONE] goal showing button should not display raw html
  * [DONE] current player flag is not rightly updated
  * [DONE] space bar should finish move
  * [DONE] number of fighters should be displayed on all fighting sprites
    (programaticaly and not by duplicating sprites)
  * [DONE] when a client have chosen not to recycle, remove the right dialog
  * [DONE] change initial size of player setup dialog
  * [DONE] remove the player name, etc in right window during recycling choice
  * [DONE] don't show "you must distribute all..." for computer players
  * [DONE] automaticaly hide chat window in non-network games (but show it in
    network games)
  * [DONE] moving armies should use the invasion slider instead of a one shot menu
  

Quickly
  * [DONE] replace all QMessageBox by KMessageBox
  * [DONE] study the replacement of the global timer by more local ones
  * refactoring of fighting in arena. code is too complex

Before 1.9:
  * [DONE] finish porting to KDE4
  * [DONE] port to QGraphicsView + SVG (maybe even for 2.0)
  * [DONE] zoom
  * add something similar to cards in Risk(R)
  * add more visual clues during battle (number of cannons and explosions equal
    to those involved, the nation flag, etc.)
  * rework overall window presentation (size of maps, chat and info dialog, etc.)
  * add Next/Back buttons during game initialization
  * [DONE through chat and info widget] at first game launch, add an
    information step explaining the role of buttons with a "Do not show again"
    check box.
  * [DONE] show opponent countries during battle
  * handle plurals in messages
  * [DONE through chat and info widget] clearly show the battle results (graphics)
  * enhance the new AI (make it aware of goals,...)
  * [DONE] automaticaly choose the messages window lines height depending on
    the font
  * [DONE] replace ids by names in the skins onu.xml file format and make the countries
    vector independent of the order in the ONU class
  * make players order random at initialization
  * [DONE] possibility to save AI only games

Before 2.0:
  - [DONE, Toulouse 2008 students, configuration option missing] if a fight
    starts outside of the displayed zone, automaticaly move to center on the
    fight (configurable)
  - possibility to Drag and Drop the map
  - perfect implementation of Risk rules (optional if some enhancements are
    implemented) ;
  - [DONE] hability to save game at any point
  - [DONE] use khotnewstuff for new skins
  - use Jabber to offer or find network games

Middle to long term:
  - game periods (distribution of armies, attacks, ...) should be simultaneous
    for all the players. But keep a turn-by-turn organization (partly-real-time) ;
  - map  = 3D model, map = earth or other planet; could be zoomed and rotated.
    sprites = flat images or (better) 3D models too.

Ideas by Dre to be dispatched :
 (3) [DONE] show the results of the dice rolled 
 (4) [DONE] make it clearer who lost what in a battle
 (1) [DONE] The animation is 
      too slow
 (6) [DONE] let me pick the number of armies to 
      attack with using the keys - 1, 2, 3 - clicking takes too long if you are
      doing a repeat battle
 (5) [To be done for 1.9] I would initiate an attack by clicking on the attack 
      armies and then when you drag you drag a canon with you to the target 
      country - this dovetails nicely
with opint (1), b/c then you don't have to slowly move the cannon afterwards
 (2) [To be done for 2.0 ?] Color-code the countries by the owner - the flags are 
      too hard to identify
 (7) [DONE] have a "battle until troops exhausted" option -
      sometimes you just want a country no matter what the cost, but a cancel 
      button would be useful too (in this case it would be nice if a dialog 
      popped up with the two countries enlarged and the battle raging and 
      soldiers falling in each round - hey, it's a wishlist,
  I can dream, no ;-) ?


Previous Releases
Before 1.0 version:
  - [There was still a lot :-(] bugs correction.

Before 1.2 :
  01- [Not so urgent] review API documentation ;
  02- [DONE] stop the timer when the windows looses the focus ;
  03- [DONE] implement basic AI ;
  04- [DONE] stop to use a graphic pool (archeologic artefact !), use separate
        images ;
  05- [DONE] flag to indicate the current player inside status bar ;
  06- [DONE example skin created; should create of a new skin instead; 
      someone ?] translate the map... ;
  07- [DONE] allow sprites to navigate from Alaska to Siberie by the short link
  08- [DONE] change the buttons disabling solution from toolbar
      hiding to "graying" ;
  09- [DONE] change the gestion of "multiple-territories countries": generalize
      Each country should be composed of a number of separated territories with
      a centralized gestion by extension, use the "mask solution" for the map.
  10- [DONE] Change the remaining "hard-wired" sizes (sprites sizes in 
      computations etc.) in the code and use the configuration file instead
  11- [DONE] click or hit space to finish a move immediatly ;
  12- [DONE] option to change sprites speed : from
      slow to immediate

Before 1.4 :
  - [DONE] implements goals ;
  - [DONE] make possible the changement of map : all map-related data should be
    placed in resource files.
  - [DONE] networked multiple players game
  - [DONE] Test to add: if it remains only one army in a country that just 
    conquered another, it is useless to display the invasion buttons
  - [DONE] use keys 1,2,3 to choose the number of attackers and defenders
  - [DONE] KDE standard config management
  - [DONE] option to change sprites speed : from slow to immediate
  - [DONE] option to enable or disable sounds
  - [DONE] add a central point different of the flag point to countries to reduce 
    dependence between the map mask and the flag point
  - [DONE] add a cancel button to dialogs where cancelling is safe 

Before 1.6 :
  - [DONE] add an history, at least of battle events. GUI to be conceived (idea by 
    frank DOT muts A gmail DOT com).
  - [DONE] add a snapshot, a long name and a description to skins
  - [DONE] countries names should be internationalized and drawn on the map at run 
    time and not hard coded on the map image