Scripts Index
PHP Miscellaneous phpBB Modules  

5 Second Game

download download home home   report broken
important script information
company name:
Aaron Winborn
license: Free
minimum requirements: No special requirements.
functional limitations:
5 Second Game description
The engine for 5 Second Game is built on a Rock-Scissors-Paper concept. There are three stats, corresponding to that, and everything modifies that: character classes, skills, combat, etc. It is meant to be a fast paced, easy to grasp, infinitely extensible game.The game is designed to be fit into an embeddable widget, so that users may post the game in a blog or other page, allowing others to quickly and easily play the game. A widget may highlight that user's character, challenging all takers.The game lends itself well to guilds and the like as well, which are also built into the system. Characters may belong to one or more guilds, which govern themselves as desired by their players. The system honors the guilds' wishes, so that characters belonging to a specific user-formed guild might gain certain bonuses (or suffer penalties) according to the guild charters.Additionally, servers may choose to allow characters to migrate between certain other servers. The character may be "translated" during migration, so that world/genre integrity is maintained (if desired). However, the simplicity of the system lends itself easily to that, if an administrator doesn't mind a gun-toting sheriff to arrive at the scene of a medieval tournament, or conversely if the player of a high elf wizard doesn't mind being translated to a nanobotic engineer on a space station.You can play the game at to see it in action (once it's built...)StatsThe three stats, at their root, are Rock, Scissors, and Paper. As in the schoolyard game of that name, Rock beats Scissors beats Paper. The stats can be renamed at the administrator's pleasure; for instance, at, the stats are named Spirit, Mind, and Body. Thus, Spirit trumps Mind, which trumps Body, which trumps Spirit.Characters will have a score in each of the stats, beginning at 1 and going infinitely beyond that (although on a practical level, the Administrator will usually top out the stats at a managable level, and/or force the retirement of overly powerful characters).When competing, two characters will choose one of the three stats (by choosing a particular skill that uses that stat), and compare them. The stats will be modified according to their character class, skill levels of the chosen form of competition, and other effects and circumstances. If one of the stats trumps the other, it will be given a further bonus. Then the final results are compared, and a winner is chosen.Character ClassesEach Class has Primary/Secondary ratings, and a level beginning with 1. Their level is added to the primary stat, and 1/2 their level (rounding down) is added to the secondary stat, which may or may not be the same as the primary. Additionally, each class has certain special abilities, some earned at higher levels.Classes are further grouped by General Class. This does not generally add new abilities per se, but is useful for Guilds and the like. For instance, a Guild for Supernatural Monsters may only accept such classes, which may include Vampires, Dragons, and Werewolves.CompetitionsWhen competing, each character will choose an "Attack" and a "Defense". The nature of the engine allows seemingly widely disparate modes of combat, such as playing cards versus a fireball. It is up to the administrator to decide the level of reality they wish to enforce for their particular game. A light-hearted environment is kept at, so that specific example would be entirely plausible.AttacksEach attack is of a certain attack mode. The attack mode uses a certain primary stat, and the level of the attack is added to that stat. Additionally, the specific attack itself affects a secondary stat (which may be the same or different from the primary) stat, adding 1/2 its level (rounded down) to that stat. If the affected stats are the same, they are added together. Otherwise, they will count as two separate attacks when resolved. Finally, specific attacks themselves may have special abilities or modifiers, such as a fire attack being doubly effective against a Treant character.DefensesAs with attacks, each defense is of a certain defense mode. The defense mode is against a specific stat, so that attacks using that stat are reduced by the level of the defense. Additionally, the specific defense is secondarily effective against another stat, in the same manner as with attacks. Finally, defenses themselves may have special abilities, some active at higher levels.SkillsCharacters may have skills to use specific attacks and defenses. Their skill level is added when using that attack or defense. Additionally, characters may also learn general skills of a mode, which also adds its level during combat.GuildsCharacters may belong to a guild. Guilds may give bonsues when fighting other specific guild members, character classes, persons on a wanted list, etc. They may further be forbidden from using certain weapons or defenses, and may be forbidden from fighting certain other guilds or members of their own guild.FightThe Attack of each character is determined for the primary stat of the attack, and again for the secondary, each being potentially (and separately) modified by the defense of the other character. The stats are combined, and if one of the character's primary stats trumps the other's primary stat, it is multiplied by 1.5, and likewise for the secondary stats. If a character holds the token against the other, another bonus is also applied to their attack.The final result is compared, ties going to the defender. A token is assigned to the winner of a competition, specific to the two characters involved. The final result is also tallied for several rankings, such as competitions between two characters, users, guilds, etc.Relative Power==============The Power of each character equals the levels/values of all classes, attacks, defenses, skills, plus the number of held tokens, and possibly modified by guild affiliations and specific situations between the two characters. The relative power level is shown before the fight, and compared after the fight. The ratio (in favor of the lower-powered character) is added to the Experience of each character, after multiplying by 1.5 for the victor and by 0.5 for the loser, rounded down in each case. If the ratio is higher than an administrator-set level, the higher-powered character may not challenge the lower-powered character, unless the character's guilds are at war.ExperienceWhen a character's experience equals or exceeds his base Power, it is reduced by that level, and 1 stat point is assigned to the character. When the character's cumulative stat points equals his current class level, his class level is increased by 1 and the cumulative stat point score reduced to 0.Stat PointsStat points may be applied to the three stats, at a cost of 1 stat point per current level of the stat to raise it to the next level.StudyEach time a skill is used, the character has a chance of earning 1 study point in that skill, plus possibly a smaller chance of earning 1 study point in the skill's mode. However, the character will not earn study points in the general mode of the skill unless the number of specialty skills in that mode, each with a level of at least the number, exceeds the current level of that general mode. When a skill or skill mode study points equals its current level, the skill or mode is increased by 1, and its study points are reduced to 0.Chance of StudyIf the specific skill level used by an opponent is higher than the character's current skill level of the same, then the chance of learning a single study point in that specific skill is equal to a percentage of the difference squared, times 1.5 if the character lost, or times 0.5 if the character won, rounding down in each case.If the general skill mode of the opponent is higher than the character's general level, AND he is otherwise eligible to learn it, AND he earned a study point in the specific skill as above, then he has a chance of learning a single study point in that general skill mode equal to a percentage of the difference, times 1.5 if the character lost, or times 0.5 if he won, rounding down.The character will also have a chance of earning a study point in a used skill, equal to 100% minus the character's current skill level times 10, with a minimum of 1%, unless the skill is maxed out. This percentage is multiplied by 1.5 if the character won the competition, or by 0.5 if he lost.If the character is otherwise eligible to learn a general skill mode for the skill used, AND he earned a study point in the specific skill from the above paragraph, then he has a chance of learning a single study point in that general skill mode equal to 10% minus the character's current skill level, with a minimum of 1%, unless the level is maxed out. This percentage is multiplied by 1.5 if the character won the competition, or by 0.5 if he lost.TacticsWhen initiating a competition, the character will always choose the attack and defense against their opponent.StrategyThe defender of a competition is generally not able to specifically control their attack or defense modes, and in fact may not control whether to appear in the competition or not (unless they have desginated their character as "on vacation", or the character has been idled).However, users may set strategies for their characters, which will affect specific attacks or defenses chosen when the character is challenged. Each character begins with a single general strategy, and they earn a new strategy possibility with each class level the character advances. They may edit a strategy at any time.Strategy SpecificityThe first strategy slot is ALWAYS general, and the specificity for the first strategy may not be changed, even at higher levels. At level 2, they may change the specificity of the second or later slots to "Guild", so the strategy will be chosen when fighting a member of that guild. At level 3, they may choose "General Character Class", selecting that general class, so that the strategy will be chosen when competing against a character of that general class. At level 4, they may also set a specific slot to "Specific Character Class", so that strategy will be preferred when fighting a character of that specific class. Finally, at level 5, they may set a specific slot to "Specific Character", allowing for some epic battles. A more specific strategy will be selected over a more general strategy.Strategy SlotsEach strategy may contain attacks and defense combinations of up to 9 slots. Each slot will contain an attack and defense choice, which may be selected by the user to be either "Random", "None", or a specific mode or skill known by the character. When another character initiates combat with that character, the strategy will be determined according to the specificity, and one of the available slots will be randomly selected for the character's attack/defense combo. By default, a strategy will have one slot, assigning "Random" to both attack and defense.Guild CharterEach guild has a charter, which is created on the guild's inception, and may be modified or revoked throughout the guild's existence. For instance, a charter may state that only dwarves may join, that all members receive a bonus when fighting elves, and a penalty is assigned when using magic. Bonuses and penalties must generally balance, although the guild may receive "experience points" in a similar manner to characters for achievements of the guild and its members, which may be used to add new bonuses or offset penalties. The charter will also determine who may join, and how approval is determined. Finally, a charter will also determine how that charter may be modified, such as by majority vote of all its members, by a 2/3 majority vote of an elected elite, by majority of a meritocratous elite, by official decree of a ruler, by unanimous vote of a governing council, anarchistrically by any member, etc. Each type of decision or modification may further be drilled down, allowing for complex forms of government within a guild.When Can I Play?The game doesn't exist yet except as a concept. Feedback is appreciated. Watch!
Similar scripts
Filter tips dialog (Popularity: ) : When you click the "More information about text formats" link, you don't expect to see the node form disappear. And you certainly don't expect to lose your work. Unfortunately on some browsers that's just what happens. This module solves the ...
Daisy's Forum Designs (Popularity: ) : Daisy's Forum Designs hosts a collection of PHPBB templates, smilies, avatars and forum icons. Webmasters are able to include attractive and eye catching templates for their forums with different template styles and images in several colours.
IP.Board Comments (Popularity: ) : IP.Board Comments for WordPress allows you to use IPB (IP.Board or Invision Power Board) to replace or enhance your WordPress comments. When a new WordPress post is created in a mapped category, it will cross-post to your IPB forum with ...
Total Control Admin Dashboard (Popularity: ) : What is Total Control?The Total Control Admin Dashboard creates a default panel page with useful administration panes right out of the box. Several overview panes are included for site stats and quick reference. Several View panes are provided with 'more' ...
Page Comments Off Please (Popularity: ) : This plug-in un-checks the "allow comments" and "allow trackbacks/pingbacks" checkboxes by default for new pages while leaving the default behavior for posts alone.Enable the plugin to uncheck the discussion checkboxes by default for pages. Disable the plugin to remove this ...
Registration Secret Codes (Popularity: ) : This module helps create secret codes that users can enter to automatically register or upgrade their accounts to specific roles. It is particularly useful for cases when it's impractical for the website administrator to manually process and upgrade single subscriptions, ...
Google Adsense Dashboard (Popularity: ) : Google Adsense Dashboard is a very simple WordPress plugin to display your live Google Adsense earnings on your WordPress Dashboard. Google Adsense Dashboard is designed to show Today's earnings only. Google Adsense Dashboard is compatible with WordPress 3.0+ as of ...
Advanced Forum More Styles (Popularity: ) : More Styles for Advanced Forum, compatible with the current 6.1.x release. Created by Rufzeichen Webdesign.Advanced Forum is a great module. Over Time, Michelle has built a nice theme layer, and it is completely pluggable. So Styles (or say forum themes) ...
What is my IP Address (Popularity: ) : This is an advanced online tool designed especially for PHP based bulletin boards to help webmasters to find out the IP address and whois information of their bulletin board visitors. This program gives you the visitor IP address along with ...
Usernode Guestbook (Popularity: ) : So, you have a usernode. Do you want to make further sense of it?Having a user a node gives also the possibility to post comments on a user. Let's use these comments as guestbook entries!usernode_guestbook is another way of implementing ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
Similar Software
Logical 5 Board Game (Popularity: ) : An addictive board game for 1 or 2 Players. Playing against computer is a
real challenge! 2 player mode inclued.Freeware.
Make at least 5 squares in a row, in any position, horizontally, vertically or diagonally. Rows and columns can be moved by ...

Gomoku (Connect Five) (Popularity: ) : Gomoku, also called Connect Five or Connect 5, is an abstract strategy board game. Gomoku is traditionally played with go pieces (black and white stones) on a go board (19x19 intersections).
Black plays first, and players alternate in placing a ...

Crazy Tetris (Popularity: ) : Crazy Tetris is an inviting clone of famous Tetris game.The old idea has a new representation incarnated in ourgame. You will find in game an attractive interface look,sound accompaniment and good functionality.Crazy Tetris include a classic tetris and 5 new ...
Lottoree (Popularity: ) : LOTTOREE is an adjustable lottery game that can be used for any state and any game. Example, pick any amount of numbers out of up to 100 numbers. Powerball or Megaball pick 6 and use 5 for game and the ...
LOTTOREE (Popularity: ) : LOTTOREE is an adjustable lottery game that can be used for any state and any game. Example, pick any amount of numbers out of up to 100 numbers. Powerball or Megaball pick 6 and use 5 for game and the ...
Shoot-n-Roll (Popularity: ) : Exciting arcade game with rich graphics and oceans of action. A good guy Fatman is forced to set off for a dangerous adventure. He has to get back a magic crystal stolen by crafty monsters and hidden in an extremely ...
Spb Arkaball (Popularity: ) : Spb Arkaball is a Pocket PC remake Arkanoid. Spb Arkaball brings together nice colorful graphics and well thought-out gameplay, making this game very addictive. The game has 50 levels for you to complete. This is Pocket PC software for iPAQ, ...
TangleBee (Popularity: ) : Bees are humming, the Spidy's coming, untangle quick before they stick! Try TangleBee for a completely new, totally fun game experience! The TangleBees have unfortunately been caught in the tricky spider's web and need your help. Untangle the bees to ...
Tetris Revolution (Popularity: ) : This game is yet another 3D remake of one of the best all-time classics in the history of PC games-Tetris. BUT it is in fact LIKE NO OTHER! It's got absolutely fantastic 3D industrial style graphics, it's got 5 different ...
Hercules Dualpix HD Driver (Popularity: ) : Webcam Features:

* Unique and exclusive Hercules in house developed software delivers everything you need to get the most from your web cam

* Photo and Video:

o Photo capture up to 5 Mega pixels in interpolated mode

o Video capture up to 1.3 ...


Rate me
supported os
Win All, BSD, Solaris
downloads 2
version 6.x-1.x-dev
size in Kb 20
user rating 5/10
New Scripts
Popular Scripts
Latest Reviews