Giter Club home page Giter Club logo

condottieri-old's People

Contributors

jantoniomartin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

condottieri-old's Issues

Change the way that 'time left' is shown.

Now, the time left that a user sees is the time available for the player with highest karma, so the user doesn't really know how much time he has.

A possible solution would be:

  • If the user has the highest karma, show his time (green colour).
  • If not, and his own time is not reached, show his time (green colour).
  • If not, but his own time has been exceeded, show the highest time (red colour).

Ask for confirmation before excommunication

At the moment, when a player clicks the link of excommunication, the effect is inmediate and cannot be undone until the next turn. This can lead to accidental excommunications.

An intermediate confirmation screen should be added, to prevent errors.

Wrong resolution of tied, crossed attacks when strength > 1

Two units are trying to exchange areas, they have the same strength and this strength is greater than 1.

What should happen: There is a tie and a standoff between both of the units.

What actually happens: The attack of the unit tested in the first place fails and its orders are deleted. Then the second unit is tested and the first one has no orders, so its attack succeeds.

A player should win when the rest are eliminated

In Game.check_winner(), check if there are two or more players not eliminated. If not, the game shoud end.

Note that all the players can be eliminated. In this case, there should be no winner.

Unit payment form doesn't work when the player has no units

In games with finances enabled, in reinforcement phase, a player has no units and is required to pay his units. Since the formset is empty, its submission returns a validation error.

Solution:
When the player has no units, skip step 0. The player begins the phase with a '1' value in Player.step. This way, the payment form is not shown.

Support is not broken when unit is dislodged in crossed attack

Country 1: Unit A, supported by B, attacks C.

Country 2: Unit C supports an attack on A.

What should happen: Support from C should be broken, since it will be dislodged.

What actually happens: Since C is supporting an attack on the area that C is being attacked from, support is not broken.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.