Coding question I need to Create a Game,player,board,boardspace
and card public class for a Candyland Game using visual Studio 2019
windows form Application c#.
output for the code is
Do not use public class CandyLand!!! Use five public class
only
Rules for the game
How to Play Candy Land
Draw your card and move to the color that corresponds to the
color of your card
Each card will have a single color square or two or even a
picture.
The card you draw allows you to do different things depending on
what the card is. For example, if it is a single-color
square, then you can move your pawn to the first color space on the
board matching the color square on your card. If there are two
color squares on your card, then the pawn should be moved to the
second color space of the color matching that of your card. If it
is a picture, then you can move your pawn forwards or even
backwards to the picture square matching that of your card.
The game is won by the player who manages to reach the last
color on the board.
Classes
Board
Game
Properties
Methods
Start Game
End Game
Add Player
Shuffle Deck
Create Deck
Display Positions
Display Winner
Select Character
BoardSpace
Properties
Color
Position
IsLicorice
Methods
Card
Properties
Color
Value
Count
Methods
Player
Properties
Name
Color
Methods
Draw Card
Player 1 Welcome to CANDY LAND Player 2 Start Game
Coding question I need to Create a Game,player,board,boardspace and card public class for a Candyland Game using visual
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Coding question I need to Create a Game,player,board,boardspace and card public class for a Candyland Game using visual
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!