. NET core MVC implements an online room chess game simple framework for WeChat payment and timely communication

Source: Internet
Author: User
Project name: Game City (Gamecityssystem)

Source Code GitHub Address:

Development tools: vs2017

Database: mysql5.7

Because the project is currently imperfect, there are some considerations

Initialize MySQL database with "applegamedata.sql" file, database name is Applegame

The connection string is configured in the appsettings corresponding file connectionstrings node

Access address is: http://127.0.0:8000

When logging in, enter 1 or 2 in the text input box, 1 for the administrator, and 2 for a regular user. (The text input box and the login button are used for the development environment, if the production environment should be deleted, the production environment enters the mobile client and points the login

After landing, you should go to the "Manage Game" menu to add a game city and then return to "Game Hall" to create a new room

Game items have two games one is "Mac", one is "two people than size".

The maximum number of Apple machines is 1, and the maximum size is 2 for two people.

Apple machine is more perfect, after entering the room can play a game of a person

Two people than the size of the game logic is not perfect, mainly show 2 players client through Webocket and server communication.

With 1 and 2 connected accounts in different browsers to log in the game, into the same room, 1 send messages, 2 of the clients can receive messages.

The simple framework mainly implements the login authentication, payment, receive red envelopes (parameters in the appsettings configuration file in the WX node configuration), the realization of a room-based single-page game, the goal is simply to complete the single-page game front-end game business logic HTML and corresponding service-side business logic (DLL per game)

,

There are still a lot of imperfect places, will always be perfect

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.