Skip to content

PHP game based on Travian, translated to 6 languages

License

Notifications You must be signed in to change notification settings

martinius96/Webwars

Repository files navigation

Webwars

Support for more free examples and codes (AND FOR ADD NEW FEATURES TO GAME):

Game info:

  • Webwars is a browser game based on PHP technology using procedural code, the way the game resembles Travian, although it does not have many interactive elements.
  • The game was created during programming attempts
  • Language mutations available in the game: sk, cz, en, de, rus, ita
  • The player chooses one of the factions for which he plays: (USA, USSR, ENG, ITA, GER, SVK)
  • Each faction has its own operations, which are really based on events from the war, such as conflict, mission, significant event
  • Each faction has its own equipment, including units, weapons, mechanisms, machines
  • There are 3 currencies in the game: gold, one and diamonds * premium currency
  • In-game actions -> retrieval of resources and others are braked by the battery, for a smaller difference between players
  • By completing operations, the player unlocks new units, which can bring, for example, more raw materials, more to produce / mine
  • Each faction has its own clickable map according to the country it plays for, also translated into all languages
  • Each infantry unit is associated with its weapon (s) with which it can be equipped to increase attack / defense power.
  • XP system, Quest system, which increases hierarchically, after certain tasks it is a multiple fulfillment of the same task, for example, twice the number of these and those units
  • Table of the best players (majors) with the possibility of attacking another player
  • Possibility to create a resistance (clan)
  • PM messages and real-time chat, a mini-game for building raw materials, including premium ones
  • Possibility to contact the administrator
  • Logs of chat, login, logout, registration

Known bugs in game:

  • Malfunction of trading between players,
  • Avoid attacking Allied players by Allied faction and the same for Axis
  • No password change / submission function has been created
  • Artillery and defensive cannon do not count as the total defensive / offensive force

Features:

  • Protect against spam registrations by sending a verification email with an account activation code
  • Basic protection against SQL Injection and XSS
  • Real-time server status and running services, test connection with db, etc.

Screenshots from game

alt text alt text alt text alt text alt text