BKickClientLib 1.0.1

dotnet add package BKickClientLib --version 1.0.1
                    
NuGet\Install-Package BKickClientLib -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BKickClientLib" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BKickClientLib" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="BKickClientLib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BKickClientLib --version 1.0.1
                    
#r "nuget: BKickClientLib, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=BKickClientLib&version=1.0.1
                    
Install BKickClientLib as a Cake Addin
#tool nuget:?package=BKickClientLib&version=1.0.1
                    
Install BKickClientLib as a Cake Tool

BKickClientLib ist eine .NET-Client-Bibliothek zum Aufbau eines Teams zum Spielen von B-Kick, einem Client-Server-Spiel, das von der Universität Bayreuth entwickelt wurde. https://b-kick.physik.uni-bayreuth.de/

So funktioniert's:

  1. Kompilieren Sie Ihr Projekt.
  2. Kopieren oder benennen Sie "AppSettings-Template.json" in "AppSettings.json" um.
  3. Ändern Sie die Anmeldedaten und die Spielpaarungen in der Datei.
  4. Starten Sie Ihr Projekt!

Spielparungen in AppSettings.json

  • IsEnabled : Ein Flag, das angibt, ob dieses Spiel gespielt wird, wenn PlayAll aufgerufen wird.
  • TeamType : Der vollständige Name der Klasse (einschließlich Namespace) des zu spielenden Teams.
  • Opponent : Der Name des Gegners. Verwenden Sie "-", wenn Sie gegen Ihr eigenes Team spielen.
  • OpponentTeamType : Nur wenn "-" in Opponent verwendet wird. Der vollständige Name der Klasse (einschließlich Namespace) Ihres anderen Teams.

Beispielcode


using System;
using BKickClientLib;

namespace SampleBKickClientApp
{
	internal class Program
	{
		private static void Main( string[] args )
		{
			try
			{
				BKickClient client = new();

				// Um alle in der Konfigurationsdatei aktivierten Spiele zu spielen.
				client.PlayAll();

				// oder um ein bestimmtes Spiel in der Konfigurationsdatei zu spielen.
				//client.Play( 0 );
			}
			catch ( Exception e )
			{
				Console.WriteLine( e );
			}
		}
	}
}

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 129 3/28/2025
1.0.0 126 3/28/2025