"Collect word" game (Anagrams)

Plugin: Igra Soberi slovo.Collect word game

In this game players are offered to make a word of an anagramme with periodic helps. The first correctly answered receives points (depending on quantity of helps and length of a word). Questions are by default stored in text file gameCW_lang.txt in filder PLUGINS. The way to file is set in constant gameCW_BasePath in file Vars.lua. At loading (restart) of plugin words are loaded from file and mix up. On it some time depending on volume of base and productivity of the computer is required. Totally has 3 ðåæèìà game modes: PM (mode 1); chat for players (mode 2); chat foe all (mode 3), when any can join game player if will write to a chat a right answer. If game mode 0, is sets, then game deactivated. To set the game mod possible by command !gamecw <mode>.

Join to game by command !gamecw_enter. Quit game by command !gamecw_quit. Get players list by command !gamecw_list. get the game records by command !gamecw_records [<nick>]. If nick is specified then records of this user will be shown. If nick it is not specified, the list of 20 best records will be shown. To remove records it is possible by command !gamecw_deleterecords [<nick>]. If nick is specified then records of this user if it is in the list of records will be removed. If nick it is not specified, own records will be removed. To restart game it is possible by command !gamecw_restart. To add in base a new word it is possible by command !gamecw_add <word>.

Has possibility to set the schedule of automatic change of game modes by command !gamecw_setscd [<time-mode>]. Time is set in format hh:mm, through a dash a mode (from 0 to 3) to change at this time. Time marks and switching modes are set through a comma without blanks. Thus, for example, to set automatic change of game mode to 3 at midday and hour later change mode to 1 possible by command !gamecw_setscd 12:00-3,13:00-1. The command without parametres will clear the schedule. To look the current schedule it is possible by command !gamecw_getscd.

The name of game bot, description and bot email are sets in the plugin's language localisation file Text_lang.lua. In constant gameCW_Show in file Vars.lua sets to 1, then the bot is shown in the list of users of the Hub, else it is invisible. In constant gameCW_Period the period in seconds which is taken away on each letter in word is set. The general time which is taken away on word drawing up, is equal to quantity of letters of the word, increased by this period. In constant gameCW_Pause the pause in seconds between words is set.

In constant gameCW_Pattern The template on which words get out is set. By default the template defines sets the whole words consisting of letters of Russian and Latin alphabets.

Also in game there is system of ranks with ranks. Depending on quantity of points and speed of answers to questions to the users participating in game, corresponding ranks are appropriated. These ranks and borders of ranks are set in the localisation file Text_lang.lua. Records remain in file gameCW_Scores.lua.


<<< back | print | To main...
PhazaSoft© Ekzekutor©
Hosted by uCoz