Giter Club home page Giter Club logo

jeopy's Introduction

This...is...JEO.PY!

A text-based user interface for scoring Jeopardy! It aims to make scoring while watching easy for touch typists.

Usage

Requires Python >= 3.6. On Windows you will also need pip install pyreadline.

$ chmod +x jeo.py
$ ./jeo.py
> # award $1,000 to player a
> 10 a
                                                                    a: $1,000
                                                                    z:  $0
> # deduct $600 from player z
> 6 z-
                                                                    a: $1,000
                                                                    z: $-600
> # award daily double to a (original score is doubled)
> 2* a
                                                                    a: $1,400
                                                                    z: $-600
> # spacing and order doesn't matter
> -z6
                                                                    a: $1,400
                                                                    z: $-1,200
> # score two players simultaneously (as in a tie)
> 2 az
                                                                    a: $1,600
                                                                    z: $-1,000
> # enter double jeopardy round
> double
>>

Type help at the prompt for a full list of commands.

Development

To run tests:

pip install pytest pytest-mock
pytest

Type checking:

pip install mypy
mypy jeo.py

R&D

  • allow score multiple players in single entry (for ties), e.g. 2 mk
  • undo
  • save entries to file / replay from file
  • config file
  • different daily double options, e.g. true dd
  • per-player daily double options
  • tutorial mode
  • better commenting support
  • confirm exit
  • reset score
  • play theme song lol
  • final jeopardy mode
  • type hints
  • single player mode
  • summary statistics

jeopy's People

Contributors

bi1yeu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.