So, I started the development.

First step: The database

I plan the database to multiple functions: manage wargames and armies (gangs, bands, teams, etc.), contests (entry players, and our points) and camapigns (with battles and many form of statistics). The form of this they have 8 table:

  • wargames
  • armies
  • contests
  • contest_players
  • campaigns
  • campaign_missions
  • campaign_players
  • campaign_battles
  • campaign_statistics

Secound step: The Administration

Then I create the Administration menus and panels.

The administration Entries panels is available anyone. There have managed the users own entries: can be delete or check its. We plan this function make it easier inside the Interfaces – entry list of contests and camapigns.

The Overview panel is a simple stats of the WCC databases. Its the place, where the administrators can inform the actual numbers of contest, campaign and so on.

The Wargames & Armies panel is the management of wargames. The basic version have some pre-initialized wargames: Warhammer, Warhammer 40.000, Warmachine, Blood Bowl, WWII and Rome (this two not a concrete game, this is a popular historical time). This panel the arministrators can manage the wargames, and the army options of wargames. The administrators can create (or append) new games, or game wariants. Example if you want to play Warhammer 40.000 Horus Heresy then create a new wargame and fill the army list with the legions.

The Contests panel is available the administrators and contributors. They can be definie a new contest, and manage your own contests in this panel. The contest management contain the entry management to – when you can modify the entries (delete or pending if you want), or you can add a new one (not just registered users).

The Campaign panel – as the Contest panel – is available administrators and contributors. There can be definie and manage new campaigns, of course just your own. The campaign management contain the options of manage the campaign entries and battle reports (banned some if its neccecery). In this panel you can select the specified range of battle reports, and create more statistics online, or save the results into spreadsheet.

Third Step: The Interfaces

In the WordPress the interfaces make to available insert the special content to the posts or pages. The most plug-in have a simple defnictions this, but I plan support the TinyMCE. But first this is the list of interfaces:

[[wcc-contest id=ID archive=false|true]]

Insert the list of contests if the id is equal 0. This case the archive mark the open or closed contests (false or true value). If the id is a number, then insert a small summary of selected contest, and the list of entries.

[[wcc-entry contest=ID]]

If the contest is open then insert the entry form, else inform the user the entry of contest is closed.

[[wcc-campaign id=ID archive=false|true from=start|DATE to=now|DATE statistic=STATISTIC_ID]]

If the id is equal 0 then list of campaigns. As the contests the archive mark the open or closed campaigns too. If the id is a number, then insert a small summary of selected campaign. This case, if the statistic have a value, then insert the selected interval (from date to to date) statistic.

The basic version have same simple campaign statistics, but this have a database to. Then it is append more versions very easy.

[[wcc-battle-report campaign=ID]]

Insert the campaign battle report form when it is open, and inform the user if it’s closed.