Python games by Ryan J. Slater
Project description
# RyGames
Python games by Ryan J Slater<br>
[GitHub](https://github.com/rjslater2000/RyGames)
NOTE: This module has been replaced by [SlaterPythonGames](https://pypi.org/project/SlaterPythonGames/) - [GitHub](https://github.com/rjslater2000/SlaterPythonGames)
To install:<br>
`pip install rygames`
## Games
* CoinGame
* CountryGuessingGame
* Hangman
* TicTacToe1Player
* TicTacToe2Player
* TwentyFortyEight
* Warships
Run any of them by importing `rygames`, then calling, for example:
```
>>import rygames as rg
>>rg.Warships()
```
Make sure to install nltk, and run in ipython:
```
>>import nltk
>>nltk.download()
```
and:<br>
Change Here: /python3.6/site-packages/bs4/__init__.py, see end of file (last few lines)<br>
Change: soup = BeautifulSoup(sys.stdin) to soup = BeautifulSoup(sys.stdin, "html.parser")<br>
Then comment out the warning
```
#warnings.warn(self.NO_PARSER_SPECIFIED_WARNING % dict(
# filename=filename,
# line_number=line_number,
# parser=builder.NAME,
# markup_type=markup_type))
```
Save and close<br>
Do this to ensure that the Hangman game functions as intended.
## Requirements
* pygame >= 1.9.3
* numpy >= 1.13.3
* matplotlib >= 2.1.0
* PyDictionary >= 1.5.1
* nltk >= 3.2.4
* names >= 0.3.0
Python games by Ryan J Slater<br>
[GitHub](https://github.com/rjslater2000/RyGames)
NOTE: This module has been replaced by [SlaterPythonGames](https://pypi.org/project/SlaterPythonGames/) - [GitHub](https://github.com/rjslater2000/SlaterPythonGames)
To install:<br>
`pip install rygames`
## Games
* CoinGame
* CountryGuessingGame
* Hangman
* TicTacToe1Player
* TicTacToe2Player
* TwentyFortyEight
* Warships
Run any of them by importing `rygames`, then calling, for example:
```
>>import rygames as rg
>>rg.Warships()
```
Make sure to install nltk, and run in ipython:
```
>>import nltk
>>nltk.download()
```
and:<br>
Change Here: /python3.6/site-packages/bs4/__init__.py, see end of file (last few lines)<br>
Change: soup = BeautifulSoup(sys.stdin) to soup = BeautifulSoup(sys.stdin, "html.parser")<br>
Then comment out the warning
```
#warnings.warn(self.NO_PARSER_SPECIFIED_WARNING % dict(
# filename=filename,
# line_number=line_number,
# parser=builder.NAME,
# markup_type=markup_type))
```
Save and close<br>
Do this to ensure that the Hangman game functions as intended.
## Requirements
* pygame >= 1.9.3
* numpy >= 1.13.3
* matplotlib >= 2.1.0
* PyDictionary >= 1.5.1
* nltk >= 3.2.4
* names >= 0.3.0
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
RyGames-1.1.tar.gz
(29.2 kB
view details)
File details
Details for the file RyGames-1.1.tar.gz
.
File metadata
- Download URL: RyGames-1.1.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ef0c4a137ca5c66787de00da0c162b7cf6b48630111890cc83fbed5e93c97f4 |
|
MD5 | 95c5e63cd4b66196dce3d9669d8d2ed9 |
|
BLAKE2b-256 | 34f0e0e21447ac262e62a07502cd7c90916b0d1f86af3ce7215ad80cab197fb3 |