Giter VIP home page Giter VIP logo

pandemicgame's People

Contributors

denniskraus14 avatar dr-drackus avatar

Watchers

 avatar  avatar

Forkers

qiyuan-zheng

pandemicgame's Issues

Fix the resolve_epidemic()

Buggy. Cards from the infect discard are supposed to be reshuffled and placed back atop. Find out what is causing this.

Exchange_info()

this is the function for the action of two players on the same space transferring a card. (the card of that city unless one of the players is researcher)

Unimplemented: moved_via_dispatch()

This function is called when the user enters "10" during the dispatcher's turn. It should ask who the dispatcher wants to move and where they want to move them to. This is separate from the dispatcher's ability to move any pawn to another pawn. Unimplemented

Cure()

this is the function for the action of curing a disease at a research station

Travel between research stations

Should travel between research stations be counted as a 'walk' action? Or should it have its own function. Leaning towards own function

Unimplemented: store_a_card()

This function gets called when the user enters "10" and it is the contingency planner's turn. It should ask which event card they would like to store(So long as they have not stored one already, it is in the discard pile, and it has not been used twice already). Each event card would need some sort of count associated with it, perhaps in a dictionary - the event card names are currently stored in a list. The contingency planner role also needs some concept of already holding a 'stored' card. And upon second use the event card should be removed form the game. Whew

Fix: resolve_hand()

This function does not remove the correct card from hand and also does not stop when it needs to.

Unimplemented: pawn_to_pawn()

This function is called when the user enters "11" during the Dispatcher's turn. The function should ask who the dispatcher wants to move(including the dispatcher) and ask what pawn/location they want to be moved to.

Event Cards

The user must be allowed to play an event card at ANY time. Not just from the menu. A handy time to ask if they would like to use an event card is before the infect steps, right when an epidemic is drawn, and right after the infect discard pile has been reshuffled and put atop the infect deck. Event cards will remain as an option in the menu for now. DO NOT COUNT IT AS AN ACTION

direct_flight()

this is the function for the action of a user spending a card they have to travel to that city.

Add specialized menu actions for each role

Dispatcher: moving other people
Operations Expert: making a research station (DONE)
Operations Expert: discarding a card at a research station to travel anywhere
Contingency Planner: Re-draw a discarded event card (Does not count towards hand limit and is only allowed once)
Researcher: NA - edit the exchange_information() function
Medic: NA - done (test for bugs)
Scientist: NA - edit the cure() function
Quarantine Specialist - NA - make a quarantine_ability() to be called after their turn but before infect()

Unimplemented: opsExpert_teleport()

This is a function that gets called when the user enters "10" , and it is the Operations Expert's turn. This is one of this character's special abilities where they can discard any one city card while at a research station and teleport wherever they would like. Should ask what card should be discarded and where the user would like to go.

resolve_double_epidemic()

This function gets called in the off chance that both cards drawn from the city deck at the end of a turn are epidemics

Exchange_info() tests

non-researcher to non-researcher TAKE
non-researcher to non-researcher GIVE
non-researcher to researcher TAKE
non-researcher to researcher GIVE
researcher to non-researcher TAKE
researcher to non-researcher GIVE

Display function

An action on the menu of actions. A window should pop up and try to display the board in a convenient way

research()

this is the function for the action of building a research station. players must be on the space and spend the card of that city to build a research station(unless that role is the operations expert). There are 6 total research stations available

Test the which_cards() function

This function is called when a player is trying to turn in a cured disease with more than the minimum amount of cards of that color needed. I.e a medic trying to cure red with 6 red cards.

pickup()

This is the function of the action of picking up cube(s).
Uncured Disease & Nonmedic: 1 cube = 1 action
Cured Disease & NonMedic: All cubes (of one color) = 1 action
Uncured & Medic: All cubes( of one color) = 1 action
Cured & Medic: No t valid action (city is cured upon visiting)

Order of turns

The order of turns should be determined by the lowest population on the city cards they are dealt

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.