Skip to content

A application made with C#/ASP. Wolf eats rabbits. The purpose of the app is to get knowlage in threads.

License

Notifications You must be signed in to change notification settings

0Swat/WolfRabbitsSimulator

Repository files navigation

Wolf and Rabbits - Hunting Simulator

ezgif-5-0b343c4383

Overview

Wolf and Rabbits is an interactive simulation game created with ASP.NET Core and JavaScript. The project demonstrates the use of WebSocket technology for real-time communication between the server and client, as well as the implementation of thread synchronization mechanisms in a multi-threaded environment.

Features

  • Interactive gameplay: Control the wolf using arrow keys to hunt rabbits.
  • Real-time rendering: Utilizes HTML5 Canvas for smooth display of the game state.
  • WebSocket communication: Provides instant game state updates for all connected clients.
  • Multi-threading: Uses Lock mechanism for safe thread synchronization.
  • Responsive interface: The game adapts to different screen sizes.
  • Automatic simulation: Rabbits move autonomously across the board.
  • Scoring system: Tracks the number of caught rabbits.
  • Game restart option: Ability to start a new game after catching all rabbits.

Requirements

  • .NET 6.0 or newer
  • ASP.NET Core 6.0 or newer
  • Modern web browser with WebSocket and HTML5 Canvas support

About

A application made with C#/ASP. Wolf eats rabbits. The purpose of the app is to get knowlage in threads.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published