首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 基于文本的游戏系统

基于文本的游戏系统

  • 资源大小:115.80 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 文本 基于 游戏系统

资 源 简 介

This is an text-based client/server that looks similar to IRC, but also allows for games to be played in another window. It was written in a modular way so it is easy to add new games into the system. Right now there are only sudoku and drawing modules. It is written in C and uses the curses library. This was a bit of a toy project created for a class, but I thought I would share since it has some decent example code for curses and sockets. There are two independent parts of the code that could easily be reused. They are: * Text-based UI using curses - see tui.h, tui_priv.h, and tui.c * TCP/IP line-based protocol processing - see lpc.h, lpc_priv.h, and lpc.c

文 件 列 表

tgs-1.0
aclocal.m4
AUTHORS
ChangeLog
compile
config.h.in
configure
configure.ac
COPYING
depcomp
INSTALL
install-sh
lpc.c
lpc.h
lpc_priv.h
Makefile.am
Makefile.in
missing
mkinstalldirs
NEWS
PROTOCOL
README
tgs.c
tgs.h
tgs_common.h
tgs_draw.c
tgs_sudoku.c
tgs_sudoku.data
tgsd.c
tgsd.h
tui.c
tui.h
tui_priv.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP