Skip to content

Card game using websockets and tornado framework

Notifications You must be signed in to change notification settings

VoodooPrograms/1000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"1000" Card Game

This is a project for Symbolics Languages class

Getting Started

This project is focused on developing popular card game in Poland called "1000" (or Russian Schnapsen in english) where communication is made via WebSockets where every player can join to game from his browser.

Wiki page of this game: https://en.wikipedia.org/wiki/Russian_Schnapsen

Some screenshots:

TBD

Prerequisites

This project requires:

  • Python 3.7 or higher
  • pip 10.0.x or higher
  • Tornado 6 or higher

To install Tornado you can run:

pip install -r requirements.txt

Run

Before running you should check configuration.

MessageHandler.js

MessageHandler.host = "192.168.8.102"; // or localhost
MessageHandler.port = ":8888";

main.py

app.listen(8888)

If everything is okey run from terminal:

python main.py

And then go to your favourite browser and type in address bar: localhost:8888

Opening 4 cards allows you to play on localhost, but if you chose your machine address instead of localhost, then you should type that address from every other machine.

Running the tests

python -m unittest discover -s Tests -p 'Test*.py' 

Authors

About

Card game using websockets and tornado framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published