An updated version of rygames, a collection of games written in Python
Project description
SlaterPythonGames
=================
Python games by Ryan J. Slater
This is an updated replacement for rygames
`GitHub<https://github.com/rjslater2000/SlaterPythonGames>`
.. image:: https://badge.fury.io/py/SlaterPythonGames.png
:target: https://badge.fury.io/py/SlaterPythonGames
.. image:: http://pepy.tech/badge/slaterpythongames
:target: http://pepy.tech/badge/slaterpythongames
:alt: PyPi Download stats
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<https://gabrielecirulli.github.io/2048/>`
Run with::
s.TwentyFortyEight()
Coin Game
_________
This is just a quick little game 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 play at.
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<http://www.shawnee.edu/gaming/>` '17.0 Art & Gaming Conference<https://vrcfa.com/events/shawnee-17-0/>' 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()
=================
Python games by Ryan J. Slater
This is an updated replacement for rygames
`GitHub<https://github.com/rjslater2000/SlaterPythonGames>`
.. image:: https://badge.fury.io/py/SlaterPythonGames.png
:target: https://badge.fury.io/py/SlaterPythonGames
.. image:: http://pepy.tech/badge/slaterpythongames
:target: http://pepy.tech/badge/slaterpythongames
:alt: PyPi Download stats
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<https://gabrielecirulli.github.io/2048/>`
Run with::
s.TwentyFortyEight()
Coin Game
_________
This is just a quick little game 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 play at.
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<http://www.shawnee.edu/gaming/>` '17.0 Art & Gaming Conference<https://vrcfa.com/events/shawnee-17-0/>' 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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SlaterPythonGames-0.22a0.tar.gz
(263.0 kB
view hashes)
Built Distribution
Close
Hashes for SlaterPythonGames-0.22a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f0a5fc0ae93bd6b41235c39e8f3a1879f2478e25314dab6c61e7000b70267c1 |
|
MD5 | 04415ca954581fe3a9c844f6e4c630a8 |
|
BLAKE2b-256 | ffc4e594523dfef956e7845863da1ce39b742cc1f16e28316ca1ecd584318b91 |