Click here to Skip to main content
15,884,811 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a school project where I have to program a Nine-Mens-Morris game with AI
in a WPF application. I have no idea how to program in C#. I only programmed in Javascript so far so i have no knowledge about c#. Can somebody give or recommend a good tutorial?

What I have tried:

I would really like if you answer me.
Posted
Updated 26-Sep-22 2:16am

Uhhh, the books on WPF alone are 800 to 1,200 pages. Good luck learning that.

For C#, you can start with .NET Book Zero by Charles Petzold[^]

Once you get through those, moving on to AI is a much bigger challenge when you're a newbie to C# and WPF.

Honestly, if you know nothing of C# and WPF, the project you've been given is very inappropriate.
 
Share this answer
 
If you aren't familiar with C#, then you have probably selected a project which is far too advanced: Nine Men's Morris is a deceptively simple game and it will take some serious work to get an AI opponent working at all, much less competently!
And while there are many tutorials on C#, you will not find one specifically implementing NMM for beginners!

Start smaller: you are presumably on a C# course, or the assignment would not have been set. So read your course notes so far and do the exercises up to this point. By then, you should have a good idea how C# (and the .NET framework behind it) works and be able to at least start this project.

Without that? You will get nowhere - this is not a project for a beginner - I'd have to set aside a significant amount of time to implement it, and I play NMM from time to time already!
 
Share this answer
 
v2
Comments
PIEBALDconsult 26-Sep-22 11:43am    
And here I thought you were a morris dancer...
OriginalGriff 26-Sep-22 11:59am    
No, you can't be a Morris dancer if you are circumcised ... :D
Quote:
I have a school project where I have to program a Nine-Mens-Morris game with AI in a WPF application. I have no idea how to program in C#


I find it hard to believe that your teacher could expect you to create such a project. The learning path for C# is not something that can be done in an afternoon. And the learning path for WPF is considerably more advanced and requires a detailed knowledge and experience of both C# and the .NET framework. And then you have to learn AI, in order to implement the actual game.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900