Skip to content

A naïve LAN TUI game written in C with ncurses & Linux networking API.

License

Notifications You must be signed in to change notification settings

hexclover/janken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

janken

An online RPS/じゃんけん/石头剪子布 game.

Build Instructions

You need CMake and ncurses.

$ mkdir build
$ cd build
$ cmake ..
$ make

The server and client program will be located at bin/server and bin/client, respectively.

Usage

By default, the server listens at 0.0.0.0:22502, and the client connects to 127.0.0.1:22502.

You can change the IP/port to listen/connect with command-line arguments: see --help.

In the client, first enter your nickname and press Enter to login. Then use Tab, arrow keys and Enter to select and perform actions.

Screenshots

image

image

About

A naïve LAN TUI game written in C with ncurses & Linux networking API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published