Giter VIP home page Giter VIP logo

pandemic2dunity's People

Contributors

denniskraus14 avatar

Watchers

 avatar  avatar

pandemic2dunity's Issues

Handle event cards

Right now they crash when they are clicked on since they are not in cities dict

Display hands

What is the best way to show each player's cards?

Move()

This function should be called when a player spends an action to move to a connecting city

Cube placement/outbreak animations

It shouldn't be hard to just get the cubes to show up immediately. Could be cool to show the path of the cubes flying to a city. Also an outbreak animation?

Card Clicking Actions

Click on a given card and it may be exchanged, used for a direct flight, used to teleport, used to make a research station, used as an event card.

X Sprites

This occurs on outbreaks and only when the neighboring cities do not already have cubes on them. Easy fix

Pickup Cube

Clicking the number sprite should remove cube(s) and change the sprite to display the correct number.

DrawTwo()

This function should be called when a player has finished all 4 of their actions. Should be triggered by the pressing of a button to give people control over playing event cards.

ResolveHandLimit()

This would be called immediately after drawing two cards. Hand limit is 7

Exchange Cards

Should only happen when two pawns are in the same city and are exchanging the card OF the city they are in (Researcher exempt)

Cards returning

This is likely arising from the card not being successfully removed from the hand. Perhaps to do with the card Equals() method

Cure a Disease

This should happen by clicking on the research station and then clicking Cure and then to ask what color and which cards you wish to turn in. Sounds like an ordeal

Create array of city sprite locations to make a graph

This will make it easier to send pieces to objects rather than coords. Will also help have pawns surround a city without touching rather than overlapping. Each city sprite is a colored, hollowed-out circle that will surround the appropriately-colored city.

Pregame Dealings

Each player should start with a certain number of city cards depending on the amount of players in the game. The board should also have some pre-infected cities before the first player goes.

Initialize_cities()

This currently is not working. This method initializes the 48 city objects

Infect step

This is what would happen after drawing two city cards, resolving hand limits, and resolving epidemics

ResolveEpidemic()

This should be called when a player draws one epidemic card and one city card during DrawTwo()

Startup scene

This scene should get input from the user for difficulty, amount of players, and what roles they want to choose/if they want random roles

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.