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.139 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.138 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.137 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.136 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.135 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.134 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.133 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.132 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.131 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.130 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.129 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.128 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.127 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.126 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.125 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.124 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.123 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.122 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.121 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.2.1.120 tracks/csharp/exercises/hangman/Hangman.cs