Skip to main content

SlaterPythonGames

Downloads PyPi

Python games by Ryan J. Slater GitHub PyPi
This is an updated replacement for rygames Downloads

Installation

To install: pip install SlaterPythonGames

Games

Make sure to import SlaterPythonGames as s
Here are the games currently included in this module:

  • 2048
  • Coin Game
  • Country Guessing Game
  • Tic-Tac-Toe
  • Warships
  • Warships2

2048

This is a clone of the popular mobile game under the same name. This will run with a Graphical User Interface, and with a scalable window size. You can find the original version here.
Run with s.TwentyFortyEight()

Coin Game

This is just a quick little game some new programmers write within their first year. Two players take turns flipping a coin, choosing from a penny, nickel, dime, or quarter. The players flip their coin, and if it lands on heads, the player gains the amount the coin is worth. If the coin lands on tails, they lose that amount. Players race to reach $1.00 first.
Run with s.CoinGame()

Country Guessing Game

Name as many countries as you can!

NOTE: This game was written on July 28th, 2017. The world has changed since then, so some of these countries may not exist any more and there may be new ones. I kinda don't feel like updating this though, since only my brother is crazy enough to play it seriously.

Run with `s.CountryGuessingGame()``

Tic-Tac-Toe

If you don't know how to play this game, I'm wondering what you're doing here. Enter the number corresponding to the space you want to mark.

To play single-player: s.TicTacToe1Player()
To play two-player: s.TicTacToe2Player()

Warships

This is the game that won the high school competition at the Shawnee State 17.0 Art & Gaming Conference in 2017. It's a text-based clone of the Battleship board game, with one or two player options. If you play the two-player version, you'll have access to some slightly different options. Instructions are included in the game.

NOTE: Due to the use of colored text, this will not run on Windows 7.

Run with s.Warships()

Warships2

This is the successor to Warships. Updates include a GUI, account system, and an AI that learns your personal play style and adapts to play against you!

Run with s.Warships2()

Metadata

Release files for SlaterPythonGames 1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SlaterPythonGames 1.7
File Size Uploaded
SlaterPythonGames-1.7.tar.gz 276.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SlaterPythonGames 1.7
File Interpreter ABI Platform
SlaterPythonGames-1.7-py3-none-any.whl Python 3 none any Details

Total release size: 556.2 kB

Release files / SlaterPythonGames-1.7.tar.gz

Download URL SlaterPythonGames-1.7.tar.gz
Size 276.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5666f7ddeb89cc6ee7537209fb4e07af2380b0f9aee5a6749d890447506f7433
BLAKE2b-256 checksum
How to use checksums
50a5ad6fcbe38e23b08788fdb78beeb6b3db3b20d2d8839774923738e803932a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

Release files / SlaterPythonGames-1.7-py3-none-any.whl

Download URL SlaterPythonGames-1.7-py3-none-any.whl
Size 280.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f101f429e1978d7747c9fdb9285e6b404142a5f927fa4f0f0fcc2d5603902ad
BLAKE2b-256 checksum
How to use checksums
15b073be3305b3d769fd2795e7495748aa8ad9d0c3900886e376c81e9eaf4a34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page