An open API service indexing awesome lists of open source software.

https://github.com/rickymagner/integer-guessing-game

A guessing game with a GUI! The game gets a random integer sequence from OEIS and players try to guess the next term.
https://github.com/rickymagner/integer-guessing-game

python requests-module tkinter webscraping

Last synced: 12 months ago
JSON representation

A guessing game with a GUI! The game gets a random integer sequence from OEIS and players try to guess the next term.

Awesome Lists containing this project

README

          

# The Integer Sequence Guessing Game
##### Given a sequence of integers, can you guess the next one?

In this game, players declare a number of terms of a random sequence pulled from the [OEIS](https://oeis.org/) (Online Encyclopedia of Integer Sequences) to be shown. Then players must try to determine the next. If the player gives up, they'll be provided the OEIS ID of the sequence used so they can read all about what the numbers mean.

### How to Play

Clone this repository and navigate to src/ and run `python main.py` to have a GUI pop-up to facilitate gameplay, via Tkinter. Here are some sample pictures of gameplay.

![Sample gameplay picture showing prompt to guess next integer](pics/gameplay1.png) ![Sample gameplay picture after winning a round](pics/gameplay2.png)

### Libraries Used
* Tkinter
* Requests