Git Product home page Git Product logo

salto-game's People

Contributors

antoniolimadev avatar brunosabenca avatar jorge92teixeira avatar l3v3l avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

litmres

salto-game's Issues

in portal map screen

users will be shown a map of battles that he needs to take to shut a portal. upon completing a battle the dot that represnts that battle will be deactivated.

ex:
image

current action counter

a battle should have a current actions amount, right now there is a battle.actions which is constructed from the player.actions (this is the amount that battle.currentActions gets refilled to after each turn)

descriptions on cards

discriptions for cards should come from the card actions.
a card that has for example as actions:

actions: [
{
type: "attack",
value: 3,
target: true,
description: "attacks %value"
}
]

the description should be "attacks 3"

if the card has more than one action and more than one descriptions, the descriptions concat.

Menu Screen

This is the first screen that is shown.
It will display a start button that will send the user to the select portal screen.

ex:
image

apply defense card

a defence card will subtract a value from the npc's next attack value

end battle

when npc or user hp level is <= 0 the battle should end

reward screen

user will be shown random 3 cards, which s/he can then select one to at to his deck.

ex:
image

end of deck

when the deck is empty, shuffle discard pile into the deck

select portal screen

user should see a number of portals that can be selected, changing the state of the game to be in a portal.
Portals can be closed meaning it cannot be selected.

ex:
image

end turn button

end turn button has been commented out due to moving logic into redux, there a function in Battle.js to handle ending turn, this should be adapted to handle new logic.

npc response

when the user presses end turn, the npc should take his actions and prepare his next actions.

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.