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.2.1.180 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.179 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.178 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.177 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.176 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.175 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.174 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.173 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.172 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.171 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.170 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.169 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.167 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.166 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.165 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.164 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.163 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.162 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.161 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.160 tracks/csharp/exercises/hangman/Hangman.cs