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.1.0.41 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.40 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.39 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.38 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.37 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.36 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.34 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.33 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.32 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.31 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.30 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.29 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.28 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.27 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.26 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.25 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.24 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.23 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.22 tracks/csharp/exercises/hangman/Hangman.cs
trackler-2.1.0.21 tracks/csharp/exercises/hangman/Hangman.cs