Before doing winform gobang think they can transplant webform
's a bit of a problem, but the actual operation, such as a mouse click event, etc., and now the whole train of thought is a little confusing
Just want to consult the asp. Net to do gobang
What his drawing board can use the
The mouse to click get coordinates with what alternative
And on the server side, winform based on cs server is very clear, but the bs server should not clear how to deal with the
Is very chaotic
CodePudding user response:
Draw something that is not a problem, just find a js 2 d engine is goodSuch as the cocos 2 d engine, of course, now generally direct the cocos creator
As for the communication of what, oneself choose according to habit, such as with websocket directly, or use webcrt, or SignalR, or MQTT, basically see you like to receive that way
CodePudding user response:
https://blog.csdn.net/potato47/article/details/51233125This all has a tutorial, looked at it and basic, can be used for communication and protocol to look at yourself, at least you're worried about drawing, events, communication that help you to solve the 2 3 people home
CodePudding user response:
Graduation design with blazor webAssembly app architecture to do ok, add a canvas page, drawing board, coordinates blazor signalr instant communication pipeline,Ideal project use, or presents project, to build their own faces in the Ts obserable HTTP communication, the board still presents the UI canvas. Use vue can actually, reason as presents, but write a typescript too dishes to c # developer, it is much easier to,
Two kinds of thinking are different from CS architecture thinking, written before you have to catch up with some BS architecture concept,
CodePudding user response:
Asp.net and winform logic on a slightly differentThis feature with basic can achieve
js+asp.netInvolves the communication of words you can use the websocket
You said get coordinates of js there method
Important is to change the thinking logic