-
24点游戏源码,用C#写的,有答案提示
24点游戏是一种使用扑克牌来进行的益智类游戏,游戏内容是:从一副扑克牌中抽去大小王剩下52张,任意抽取4张牌,把牌面上的数(A代表1)运用加、减、乘、除和括号进行运算得出24。每张牌都必须使用一次,但不能重复使用。在不同版本中,对J、Q、和K的处理有些差异。一个常见的版本是把J、Q、和K去除,或当成10;还有一个版本是把J表示11,Q表示12,K代表13。
有些组合有不同种算法,例如2,4,6,Q四张牌可用 2 + 4 + 6 + 12 = 24 或 4 × 6 ÷ 2 + 12 = 24 或 12 ÷ 4 × (6 + 2) = 24等来求解。也有些组合算不出24,如1、1、1、1 和 6、7、8、8等组合。
用C#写的小游戏,只提供加减乘除四则运算,可以提供大家参考。
- 2022-06-29 12:48:15下载
- 积分:1
-
master079
说明: MapleStoryServer
A MapleStory Server in Go For CMS V079 Go 编写的079版本冒险岛服务端
Target
实现一个079版本的冒险岛服务器. 能够实现原Java的部分功能.
Files
main.go —— 程序入口,负责初始化CPU分配、打开控制台、准备消息分发routines,侦听端口,并且接收客户端的连接。
Packages
connection —— 用于建立与客户端的连接,进行读写数据。
message —— 用于负责服务器向客户端方向的信息的递送,主要功能是广播和点对点通信;
types —— 包含整个服务器所用到的各种数据结构,比如用户信息结构体等;
users —— 包含用户管理相关函数,比如用户进入游戏与离开。
console —— 给服务端添加一个控制台,便于输入指令调试。(MapleStoryServer
A MapleStory Server in Go For CMS V079 Go Edition 079 Adventure Island Server
Target
Implement a 079 version of the Adventure Island server. It can achieve some of the functions of the original Java.
Files
Main.go -- Program entry, which is responsible for initializing CPU allocation, opening console, preparing message distribution routines, listening on ports, and receiving client connections.
Packages
Connection - Used to establish a connection with the client to read and write data.
Message is used to deliver information from server to client. Its main functions are broadcasting and point-to-point communication.
Types - Contains all kinds of data structures used by the whole server, such as user information structure, etc.
Users - Contains user management related functions, such as user entry into the game and departure.
Console - add a console to the server to facilitate the debugging of input instructions.)
- 2020-06-17 02:40:01下载
- 积分:1
-
VCPPeluosi
比较经典的俄罗斯方块游戏VC++的源代码,它可以设置区域大小,也就是方块几行几列,游戏难度级别,方块样式选择等,小时候我们经常玩的游戏,现在还有不少在玩。 截图如上,VC6下通过编译。(More classic Tetris game VC++ source code, which can be set area size, which is the block several odd row, the game difficulty level, block style choice, a child we used to play games, there is still a lot of play. Screenshot above, under VC6 compile.)
- 2015-05-09 11:39:41下载
- 积分:1
-
tank
java实现的tank大战,图形界面,有音乐背景。(java implementation of tank battle, graphical interface, with music background.)
- 2013-09-23 10:45:47下载
- 积分:1
-
Tetris-game
俄罗斯方块小游戏,在dos界面下实现俄罗斯游戏的基本操作。(Tetris game dos interface to achieve the basic operation of the Russia game.)
- 2012-11-29 19:35:22下载
- 积分:1
-
CSOL
这是一个CSOL源码,里面功能很多,相信有很多人还在玩这个游戏,希望对你有所帮助!(This is a CSOL source code, which features a lot, believe that a lot of people are still playing this game, and I hope to help you!)
- 2021-01-13 07:08:47下载
- 积分:1
-
paopaotang
用c#写的泡泡堂 实现基本的功能
画面没有原版的好看
适合初学者了解用c#如何编写简单游戏 (By c# written in BNB to achieve the basic functionality of the original picture does not look good for beginners to understand how to write with a simple game c#)
- 2020-12-08 12:19:19下载
- 积分:1
-
sPCK
完美世界游戏客户端pck解包打包工具,同时支持cup更新包解包。(Perfect world game client PCK unpack packaging tools, at the same time support CPU update package.
)
- 2013-10-24 15:03:00下载
- 积分:1
-
Chinese-chess
系统实现中国象棋对弈并能实现一些基本功能,如:棋局的保存与棋局的调用。
系统五个功能键,即新游戏:开始一局新的对弈;悔棋:将棋子返回刚才所处位置;打开:调用以前保存的棋局;保存:将当前棋局保存;退出:退出本程序。(System to achieve a Chinese chess game and can achieve some basic functions, such as: the preservation of chess game chess game calls.
System five function keys, ie new game: Start a new Board of chess undo: the location of the pieces just returned Open: Call a previously saved game of chess Save: Saves the current game save Exit: Exit the program.)
- 2013-07-16 17:45:44下载
- 积分:1
-
bomb-game
扫雷游戏的C++代码,适用于学习C++的初学者,有助于理解程序,提升能力。(
Minesweeper game C++ code, suitable for beginners to learn C++, to help understand the process, enhance the capacity.
Minesweeper game C++ code, suitable for beginners to learn C++, to help understand the process, enhance the capacity.)
- 2014-01-03 10:24:46下载
- 积分:1