标签云

微信群

扫码加入我们

WeChat QR Code


That's funny, me and a friend were thinking of writing a trading card game in C# a while back, don't suppose you still have the source for this? Interested on how you'd approached this.

2018年12月11日10分27秒

mattytommo No, don't have anything left, it was in the really early stages and essentially was just working like I outlined above. Nowadays, I would look into Roslyn to do C# compilation: blogs.msdn.com/b/csharpfaq/archive/2011/10/19/… - Alternatively, JavaScript using Jint - jint.codeplex.com

2018年12月11日10分27秒

ah thanks, but I was looking more for the implementation of the trading card game itself and the structure you'd used, as opposed to the scripting engine. Thanks anyway :)

2018年12月11日10分27秒

By the way, I've chosen this as the accepted answer because I wanted to loo at Python and IronPython anyway, so the IronPython approach works best for me.

2018年12月11日10分27秒

LuaInterface is a lua interpreter that works fantastic as well.

2018年12月10日10分27秒

I implemented C# Script in a workflow system in Nov 09. It has performed really well for us.

2018年12月10日10分27秒

(No need to flag this; while this should be a comment/answer update, but is grandfathered in from before those were options)

2018年12月10日10分27秒

I believe this refers to Roslyn? en.wikipedia.org/wiki/Microsoft_Roslyn

2018年12月11日10分27秒

Yes. Although Roslyn is still on the horizon, Mono.CSharp (available on NuGet) packs all the same functionality.

2018年12月10日10分27秒

Adding an update to keep the options relevant: The .NET Compiler Platform ("Roslyn") is available. So its a viable alternative to all the others mentioned. github.com/dotnet/roslyn.

2018年12月10日10分27秒