All Projects → cls1991 → 24-game

cls1991 / 24-game

Licence: MIT license
24 point game implemented in Python, just for fun!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to 24-game

Arsenic
Async WebDriver implementation for asyncio and asyncio-compatible frameworks
Stars: ✭ 209 (+1206.25%)
Mutual labels:  twisted
public
BitDust project source codes : official Public Git repository (mirror on GitHub) : https://bitdust.io
Stars: ✭ 19 (+18.75%)
Mutual labels:  twisted
Melkweg
Project Melkweg is only a tool testing the network latency between two computers.
Stars: ✭ 18 (+12.5%)
Mutual labels:  twisted
Txtorcon
Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
Stars: ✭ 215 (+1243.75%)
Mutual labels:  twisted
txi2p
I2P bindings for Twisted.
Stars: ✭ 12 (-25%)
Mutual labels:  twisted
callsign
Small DNS service to support local development. Provides the functionality of cloud-based DNS services on your local machine, allowing automated deployment simulations on the desktop.
Stars: ✭ 42 (+162.5%)
Mutual labels:  twisted
Twisted Intro Cn
Twisted与异步编程入门
Stars: ✭ 175 (+993.75%)
Mutual labels:  twisted
slackbridge
Bridge between IRC and Slack running on Kubernetes
Stars: ✭ 12 (-25%)
Mutual labels:  twisted
pade
Python Agent DEvelopment framework
Stars: ✭ 81 (+406.25%)
Mutual labels:  twisted
prometheus-async
Async helpers for prometheus_client.
Stars: ✭ 136 (+750%)
Mutual labels:  twisted
Gidgethub
An async GitHub API library for Python
Stars: ✭ 226 (+1312.5%)
Mutual labels:  twisted
python-api
Trading API for Quedex Bitcoin Derivatives Exchange.
Stars: ✭ 20 (+25%)
Mutual labels:  twisted
NetworkManager-WiFi-WebUI
Web interface (python2/twisted) for NetworkManager daemon to manage WiFi connections
Stars: ✭ 42 (+162.5%)
Mutual labels:  twisted
Crochet
Crochet: use Twisted anywhere!
Stars: ✭ 214 (+1237.5%)
Mutual labels:  twisted
tahoe-lafs-public-clouds
tahoe-lafs backend drivers for no-cost cloud providers
Stars: ✭ 25 (+56.25%)
Mutual labels:  twisted
Skillbox Chat
Skillbox demo application for the Python course
Stars: ✭ 86 (+437.5%)
Mutual labels:  twisted
twisted-honeypots
SSH, FTP and Telnet honeypots based on Twisted
Stars: ✭ 79 (+393.75%)
Mutual labels:  twisted
tubes
A series of tubes.
Stars: ✭ 55 (+243.75%)
Mutual labels:  twisted
Cardinal
A Python IRC bot, designed to make adding functionality quick and simple.
Stars: ✭ 92 (+475%)
Mutual labels:  twisted
aioScrapy
基于asyncio与aiohttp的异步协程爬虫框架 欢迎Star
Stars: ✭ 34 (+112.5%)
Mutual labels:  twisted

24-game

24 point game implemented in Python, just for fun!

asciicast

Quickstart

connect to game:

$ nc 127.0.0.1 12345
$ telnet 127.0.0.1 12345

start the game, give a random list consisted of four cards:

$ start
`13 1 7 3`

guess whether these four cards can make up 24 points or not, and submit your guess:

$ submit yes
$ submit y
`submit no
You're wrong, one of the solutions is `((13 + 1) + 7) + 3`.
`

query your profile:

$ info
`
Your connection is 127.0.0.1:59262, your score is 1.
`

show the rank info:

$ rank
`
Score ranks: 1 1 1.
`

quit the game:

$ quit
$ CTRL+C

Usage

Play 24 point game.

Commands:
  start   Start the game.
  submit  Commit your guess(yes/y for solutions, others for no solutions).
  rank    Show the first three of score ranks.
  info    Show player info.
  quit    Quit the game.
  help    Show this message.

Test

I have deployed one instance to the public internet, you can visit at 106.75.56.232:12345.

TODO

  • A more beautiful ui.
  • Add pk mode.
  • Wrap rank refresh as a cron task.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].