Good luck with the draw tonight
Cross-platform random lottery program based on .NET MAUI
[ Chinese Simplified | English ]
Overview?
This product is a cross-platform random lottery program developed based on .NET MAUI technology architecture.
The purpose of developing this product is to facilitate the school's classroom questioning, activity drawing, and other scenarios that require the use of random points, and provide organizers with a convenient, fair, and reliable application.
This product uses .NET MAUI as the development framework. It is my first attempt at .NET MAUI, and it is also a test product for my .NET learning.
This product is participating in a competition in the school, and I hope it will be favored by the judges and teachers.
Features
- Developed using .NET MAUI framework . Written once, deployed and run on multiple platforms, this is our exploration of the practical application of .NET and .NET MAUI.
- Utilization of .NET class libraries, complete object-oriented design and development thinking . I extracted the core logic code of the lottery from the source code of a Windows desktop application based on WPF and developed using Visual Basic language that I wrote myself, encapsulated it into a .NET class library, and only performed A relatively small amount of changes can be called by the main program written in C# in .NET MAUI, indirectly achieving the goal of jointly developing .NET MAUI by C# and VB.
- Practical value and scalability . This product can be deployed on multiple platforms and maintains multi-platform operation performance, expanding the project's application scenarios and user groups, and facilitating people's deployment and use under different needs. With the support of object-oriented and .NET class libraries, it will be more convenient to improve UI, fix bugs, add functions, and provide networking services through ASP.NET or other cloud development technologies in the future.
How to use?
development environment
Please make sure your computer has the following environment installed:
- Windows 10 or Windows 11 operating system
- .NET SDK 7.0
- MAUI development workloads in the .NET SDK
- Git
- Android SDK
- Visual Studio 2022
In addition, this project uses NuGet packages for expansion development. Please download CommunityToolkit.Maui
after cloning this project to your computer and opening it.
Application debugging and deployment
- Use Git to clone this project to your computer
- Double-click to open the solution file located in the
AVENTURINECOIN_MAUIEDITION
directory. - If there are no errors, the solution displayed in Visual Studio should contain three project files, namely
AVENTURINECOIN_MAUIEDITION
, AMClassLibrary
and AMClassLibraryForSave
. - Select the debugging platform you want to debug in the drop-down menu of the Debug/Run button (for Android and iOS deployment, it is recommended to turn on the "Developer Mode" and "Allow USB Debugging" on the physical device and then connect it to the Computer, select "Local Device" for deployment and debugging)
- After the application is started, you can click the tab to select the function for debugging.
Application function?
- single draw Extract records from a list one at a time
- Multiple draw Extract records from multiple lists at one time, and the number of extractions is input by the user.
- List settings A list set by the user for extraction
- Extract records Read and manage the results and records of each extraction
What technical architecture is used?
.NET 7.0 .NET MAUI 7.0
Possible problems?
Due to time constraints and condition constraints, we only tested most of the software functions on Windows and Android. In the face of running problems on Apple products and other error situations that may not be detected, everyone is welcome to submit an Issue report to us.
Release notes?
This product is released in free open source code mode based on the MIT license.
开发代号:AVENTURINECOIN
版本:MAUI EDITION
版本号:0.7.0
开发阶段:Alpha
适用平台:Windows(10 以上的版本)、Android、iOS、MacOS
Developers and Team??
SPGLP (Super Gulip 55) is the creator and owner of this repository and is responsible for the main development work, management and documentation of this project. He is the main person in charge of this project.
GJMofeng is responsible for document writing and auxiliary development of this project
Chaoix is responsible for the auxiliary design of the UI of this project.
Velpros is responsible for the project management and version control assistance of this project.
How to contribute?
View the vulnerability report on the Issue, or submit an Issue to explain your ideas or improvement strategies. Fork this warehouse, create a new branch as Feature/<用户名>/<修改内容简述>
, and submit your changes to us through a pull (merge) request.
We are very grateful and welcome your selfless dedication and generous teachings.