Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- namespace CardGame
- {
- class Card
- {
- public int Score;
- public string Mark;
- }
- static class GameRules
- {
- static string Rules = "";
- }
- class Player
- {
- public string Name;
- public BoxOfCards CountCardsOnHand;
- public Card Move(int numberOfCard)
- {
- return CountCardsOnHand.Cards[numberOfCard];
- }
- }
- static class GameMatch
- {
- static string SpecialCardMark;
- static Player[] Players;
- }
- class Table
- {
- public BoxOfCards Deck;
- public BoxOfCards Move1;
- public BoxOfCards Move2;
- public BoxOfCards Beaten;
- }
- class BoxOfCards
- {
- public Card[] Cards;
- public int CountCards => Cards.Length;
- }
- class Deck
- {
- public Stack<Card> cards;
- public int CountCards => cards.Count;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement