Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Multiplayer (LAN) Sri Lankan card game (omi)

License

NotificationsYou must be signed in to change notification settings

NoobNotFound/NetDeX

Repository files navigation

NetDeX is a a LAN-based multiplayer and single-player card game engine developed in .NET for local gaming enjoyment (especially for Sri Lankans). Play with your friends over a local network or challenge computer-controlled opponents for a solo gaming experience.

Features

  • Supports Omi, 304 is planned to implement.
  • LAN Multiplayer: Connect with friends over a local area network for exciting multiplayer matches.
  • Single-Player Mode: Enjoy the game even when playing solo with computer-controlled opponents. (not planned yet)
  • Intuitive User Interface: A user-friendly interface for an enjoyable gaming experience. (to do)
  • Customizable Settings: Tailor the game to your preferences with customizable settings.

Getting Started

Clone the repository to your local machine.

git clone https://github.com/NoobNotFound/NetDeX.git

Alternatively, you cango to releases to download the latest version of the game.

OmiEngine

varOmiEngine=newSolitaire.Games.Omi.Core.Engine(Games.Omi.Enums.Players.Four);OmiEngine.Initialize();OmiEngine.NewGame();//Start a new gameOmiEngine.Shuffle(5);//Shuffle 5 timesOmiEngine.Share();//Start share//so on

Game (LAN)

vargame=newGame();game.Host("192.168.0.1",12345);game.Join("192.168.0.1",12345);//No need to do this if you are the hostgame.RequestPlayer(1);game.Reset();game.NewGame();game.Shuffle(3);game.Share();game.SetTrump(Types.Diamond);//so ongame.JoinPlayerSuccess+=(sender,playerPosition)=>{Console.WriteLine($"Player{playerPosition} joined successfully!");};game.Engine.EngineData.DataChanged+=(sender,engineData)=>{Console.WriteLine("Engine Data Changed:");// Handle the updated engine data};game.Engine.TeamData.DataChanged+=(sender,teamData)=>{Console.WriteLine("Team Data Changed:");// Handle the updated team data};

this example is an all in one so do not copy paste because it may not work.

Feedback

Your feedback is valuable! If you encounter any issues or have suggestions for improvement, please create an issue in theGitHub repository.

License

This project is licensed under theGNU General Public License v3.0 (GPL-3.0).

Enjoy playing Omi!


This README was generated with the assistance of AI.

About

Multiplayer (LAN) Sri Lankan card game (omi)

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp