Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Project: QuickMatch Game

c# cli console application game cards

  • Please log in to reply
1 reply to this topic

#1 phi

phi

    CC Regular

  • Member
  • PipPipPip
  • 33 posts
  • Location:Abidjan-Côte d'Ivoire
  • Programming Language:C#, PL/SQL, Transact-SQL, Bash
  • Learning:C, Pascal

Posted 01 November 2013 - 07:36 AM

Here is a CLI-based game I developed as a school project for my C# module. https://quickmatchgame.codeplex.com/ 

Reviews, suggestions and feedbacks are welcome ! :biggrin: .


  • 0

Love what you do and you will be successful...


#2 phi

phi

    CC Regular

  • Member
  • PipPipPip
  • 33 posts
  • Location:Abidjan-Côte d'Ivoire
  • Programming Language:C#, PL/SQL, Transact-SQL, Bash
  • Learning:C, Pascal

Posted 01 November 2013 - 09:23 AM

QuickMatch Game

CLI multiplayer game on a single console.

 

Presentation

QuickMatch is multiplayer card game played on a single console. The number of player ranges from 2 to 4 players.

Rules

Each player is given a set of five cards. The remaining cards are kept in a pile at the center. The player can either draw a card from the pile of cards or pick a discarded card, which is thrown by another player. The first player to collect five cards of the same suite wins the game.

How to play

Firstly, the number of players is accepted and the name of each player is entered. The player whose name is entered first gets the first chance. Other players get the chance in the sequence in which their names were entered. The first player needs to pick the topmost card from the pile. The card picked by the player gets added to his/her card collection. When a new card is added in the player’s card collection, the total number of cards in the collection exceeds five. Therefore, the player needs to discard a card from his/her collection so that the other players can have the chance to pick the card. After the first player discards the card, the next player gets the chance to pick the discarded card. The first player having five cards of the same suit after his turn wins the game. There is a draw when no player wins and the pile is emptied.


  • 0

Love what you do and you will be successful...






Also tagged with one or more of these keywords: c#, cli, console application, game, cards

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download