Skip to content

Tiger & Goat is an abstract strategy board game played in South East Asia. It is a react app and uses simple svg lines & circles for game display. Uses Alpha-Beta pruning for AI.

Notifications You must be signed in to change notification settings

vigneshc/TigerAndGoat

Repository files navigation

Lambs and Tigers is an abstract strategy board game.

This project contains an implementation of the game as a learning exercise in Typescript, ReactJS and AspNet core. There is no server side logic, it can as well be a static html app. Dotnet core was chosen just for convenience as it creates initial boiler plate code.

Folder structure

ClientApp/components/AI/ : Contains generic board navigation interface, MinMax code. This is generic and can be used for other games.

ClientApp/components/TigerAndGoat/ : Contains tiger and goat game related code. Each file has brief description.

Building and Deploying

Requires dotnet core, npm and typescript to be installed.

Compile:

dotnet build

Run:

dotnet run

Packaging and deployment:

dotnet publish -c Release

Creates a folder called netcoreapp2.0/ with all the dependencies.

Copy netcoreapp2.0/ and run below command to start the app.

dotnet TigerAndGoat.dll

Live demo

Possible additions

  • Two player game.
  • Better heuristics, levels.
  • Undo and replay.
  • Additional, similar games.

There is no warranty of any kind for the items in repository.

About

Tiger & Goat is an abstract strategy board game played in South East Asia. It is a react app and uses simple svg lines & circles for game display. Uses Alpha-Beta pruning for AI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published