Files
basic-computer-games/03_Animal/vbnet
Martin Thoma e64fb6795c MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
..
2022-01-23 00:26:12 +02:00
2022-01-20 11:03:38 +02:00
2022-03-05 09:29:23 +01:00

Original BASIC source downloaded from Vintage Basic

Conversion to Visual Basic .NET

This takes some inspiration from the C# port of Animal.

The Game class takes a console abstraction (ConsoleAdapterBase), which could also be used for different UIs, such as WinForms or a web page. This solution also has an xUnit tests project. Responses can be entered in any capitalization, but animals and the distinguishing question will be converted to uppercase.