googleforgames / agones

Dedicated Game Server Hosting and Scaling for Multiplayer Games on Kubernetes
https://agones.dev
Apache License 2.0
6k stars 791 forks source link

Is there any sample code for a C# server? #2404

Open nmtoan91 opened 2 years ago

nmtoan91 commented 2 years ago

The SDK supports C# but there is no sample for a C# game server. Could you provide the sample for a C# game server?

roberthbailey commented 2 years ago

There is a C# allocator client example: https://github.com/googleforgames/agones/tree/main/examples/allocator-client-csharp

Since @pooneh-m wrote that, she may be interested in helping with a sample C# game server.

markmandel commented 2 years ago

Do you want a C# example for .net, or for Unity?

We have a Unity sample: https://github.com/googleforgames/agones/tree/main/examples/unity-simple

github-actions[bot] commented 9 months ago

'This issue is marked as Stale due to inactivity for more than 30 days. To avoid being marked as 'stale' please add 'awaiting-maintainer' label or add a comment. Thank you for your contributions '

github-actions[bot] commented 8 months ago

This issue is marked as obsolete due to inactivity for last 60 days. To avoid issue getting closed in next 30 days, please add a comment or add 'awaiting-maintainer' label. Thank you for your contributions

markmandel commented 8 months ago

🤔 is https://github.com/googleforgames/agones/blob/main/test/sdk/csharp/Program.cs a good enough example?

github-actions[bot] commented 6 months ago

'This issue is marked as Stale due to inactivity for more than 30 days. To avoid being marked as 'stale' please add 'awaiting-maintainer' label or add a comment. Thank you for your contributions '

markmandel commented 5 months ago

I'm going to move this to awaiting-maintainer, since this would be good to have to round off the C# SDK experience.