@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QwirkleClassLibrary
{
public enum Color
Red,
Blue,
Green,
Yellow,
Orange,
Purple
}
public enum Shape
Square,
Round,
Rhombus,
Club,
Shuriken,
Star
@ -0,0 +1,22 @@
using System.Drawing;
public class Tile
private Shape shape;
private Color color;
public Tile(Shape sh, Color co)
shape = sh;
color = co;
Console.WriteLine("A tile of shape " + shape + " and color " + color + " has been created.\n");