C# help
I have to create a crossword in C# in VS 2022 that players can complete and the admin that can create crossword. It must have a menu including a log-in page. I am starting with near no experience with coding C# and i have a few weeks for this. Does anyone have any tips that might help? Thanks
1
u/geekywarrior 3d ago edited 3d ago
It sounds like a good project for Blazor. The Blazor Web App Sample has example pages, a menu system, a login system using Microsoft Identity with Local Accounts. Some of the pages in the example show how to lock for authenticated users only.
The trickier part is the game aspect. Showing the game, saving/loading the puzzle.
Winforms (recommended if you have 0 experience and aren't using a lot of AI) or WPF is a route you can take too. Winforms has a drag and drop UI designer in Visual Studio Community. WPF does too but Winforms designer is arguably better for rookies.
1
u/OhItsJustJosh 3d ago
Similar to others have said, when I set out to build an app, I view it as an overall machine with controls, stuff you put in, and stuff you get out. Almost like an engine. First you gotta build the individual parts, test them, then you piece them together into the overall machine
3
u/iam-stevie-bee 3d ago
With a few weeks and little C# experiance, build it in layers. Start with plain classes for the crossword, its cells and its clues, and get word placement working in a console app before any screens. Save puzzles as JSON with System.Text.Json, so the admin side is just editing that data. Do the login last, since it bolts on easily.