Coder Social home page Coder Social logo

explodingkittens-c's Introduction

ExplodingKittens-C

C Implementation of the Card Game Exploding Kittens

Variablen von main()

anzahlSpieler //Anzahl aller Mitspieler; nutzbar für Rundenschleife anzahlKarten //Anzahl von Spielkarten im Spiel 1 Array pro Spieler (Anzahl entspricht Kartenanzahl)

while(anzahlSpieler > 1) // Schleife

Runde(Spieler, AnzahlKartenZuZiehen):

A Handkarten angezeigen (als Text) Karten ausführen (Schleife mit Abfrage ob ausführbar wollen + kann) Aktion; Skip: Ende des Zuges Reverse: Ende des Zuges + Spieler zuvor ist dran Attack: Ende des Zuges + Gegner 2 ziehen See the Future: 3 Karten der Zukunft sehen A Handkarten anzeigen; B Karte ziehen (Anzahl) ExplodingKitten -> Defuse / TOD Andere -> Ende des Zuges A Handkarten anzeigen

Karten : 30 6-Anzahl x ExplodingKitten Spieler kann Defuse spielen, sonst TOD 5-Anzahl x Defuse ---- spielbar wenn ExplodingKitten, (oder Sonderaktion) 4 x Skip Ende des Zuges 4 x Reverse Ende des Zuges, Spieler zuvor ist dran 3 x Attack Nächster Spieler zieht 2 Karten 3 x See the future Man sieht die nächsten 3 Karten 10 x Kitten ---- Keine Aktion, (außer Sonderaktion)

int shuffle(int[], int[], int); /* ZielListe, Liste, Größe / void randomInts(int[], int, int); / Zielliste, Liste, höhe */

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.