Sha256: 87deb183afde87cfc4fc94bdc19fb4af1d64391eab56ff343ff2e00731721fcb

Contents?: true

Size: 646 Bytes

Versions: 281

Compression:

Stored size: 646 Bytes

Contents

using System;
using System.Collections.Generic;

public class HangmanState
{
    public HangmanStatus Status { get; set; }
    public int RemainingGuesses { get; set; }
    public string MaskedWord { get; set; }
    public HashSet<char> Guesses { get; set; }
}

public enum HangmanStatus
{
    Busy,
    Win,
    Lose
}

public class HangmanGame
{
    public HangmanGame(string word)
    {
    }

    public void Start()
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public void Guess(char c)
    {
        throw new NotImplementedException("You need to implement this function.");
    }
}

Version data entries

281 entries across 281 versions & 1 rubygems

Version Path
trackler-2.0.8.15 tracks/csharp/exercises/hangman/Hangman.cs