Skip to content

rkarimabadi/Game

Repository files navigation

Game

Game is a collection of simple games written with C# and Blazor WebAssembly framework. The games are designed to be fun, interactive and easy to play on any browser.

The games included in this collection are:

  • Minesweeper: A classic puzzle game where you have to clear a grid of hidden mines without triggering any of them. You can use the clues provided by the numbers on the grid to deduce the location of the mines. The game has three difficulty levels: easy, medium and hard.
  • Sudoku: A popular logic game where you have to fill a 9x9 grid with digits from 1 to 9, such that each row, column and 3x3 subgrid contains every digit exactly once. The game provides hints and checks for errors. You can also generate a new puzzle or solve the current one.
  • Twenty Questions: A guessing game where you have to think of an object and the computer will try to guess it by asking you yes or no questions. You can also play as the guesser and try to figure out what the computer is thinking of.

To play these games, you need to have a modern browser that supports WebAssembly. You can clone this repository and run it locally using Visual Studio or Visual Studio Code, or you can visit the deployed version at https://rkarimabadi.github.io/Game/.

This project is open source and licensed under the MIT License. Feel free to contribute, report issues or suggest new features.

بازی

بازی مجموعه‌ای از بازی‌های ساده است که با سی‌شارپ و فریمورک Blazor WebAssembly نوشته شده است. بازی‌ها به گونه‌ای طراحی شده‌اند که سرگرم کننده، تعاملی و آسان برای بازی در هر مرورگری باشند.

بازی‌های موجود در این مجموعه عبارتند از:

  • مین‌یاب: یک بازی پازل کلاسیک که در آن باید شبکه ای از مین های پنهان را بدون فعال کردن هیچ یک از آنها پاک کنید. می توانید از سرنخ های ارائه شده توسط اعداد روی شبکه برای استنباط محل معادن استفاده کنید. این بازی دارای سه سطح دشواری آسان، متوسط و سخت است.
  • سودوکو: یک بازی منطقی محبوب که در آن شما باید یک شبکه 9x9 را با ارقام 1 تا 9 پر کنید، به طوری که هر ردیف، ستون و زیرشبکه 3x3 حاوی هر رقم دقیقاً یک بار باشد. بازی نکاتی را ارائه می دهد و خطاها را بررسی می کند. شما همچنین می توانید یک پازل جدید ایجاد کنید یا یک پازل فعلی را حل کنید.
  • بیست سوال: یک بازی حدس زدن که در آن شما باید به یک شی فکر کنید و کامپیوتر با پرسیدن سوالات بله یا خیر از شما سعی می کند آن را حدس بزند. همچنین می‌توانید به عنوان حدس‌زن بازی کنید و سعی کنید بفهمید رایانه به چه چیزی فکر می‌کند.

برای انجام این بازی ها باید یک مرورگر مدرن داشته باشید که از WebAssembly پشتیبانی کند. می توانید این مخزن را کلون کرده و به صورت محلی با استفاده از Visual Studio یا Visual Studio Code اجرا کنید، یا می توانید از نسخه مستقر در https://rkarimabadi.github.io/Game/ دیدن کنید.

این پروژه منبع باز است و تحت مجوز MIT مجوز دارد. با خیال راحت مشارکت کنید، مشکلات را گزارش دهید یا ویژگی های جدید را پیشنهاد دهید.