https://github.com/wesgtox/nim-game
Strategy game built in Python.
https://github.com/wesgtox/nim-game
Last synced: 3 months ago
JSON representation
Strategy game built in Python.
- Host: GitHub
- URL: https://github.com/wesgtox/nim-game
- Owner: WesGtoX
- License: mit
- Created: 2018-03-20T01:41:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T01:53:33.000Z (over 7 years ago)
- Last Synced: 2025-07-04T15:35:32.786Z (3 months ago)
- Language: Python
- Size: 55.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

-----------------
# NIM GAME
No NIM Game, ```n``` peças são inicialmente dispostas numa mesa ou tabuleiro. Dois jogadores jogam alternadamente, retirando pelo menos 1 e no máximo ```m``` peças cada um. Quem tirar as últimas peças possíveis ganha o jogo.
Existe uma estratégia para ganhar o jogo que é muito simples: ela consiste em deixar sempre múltiplos de ```(m+1)``` peças ao jogador oponente.
```Obs.: Nessa implementação o computador sempre vence.```
Building using Python Programming Language
Author: [Wesley Mendes](https://github.com/WesGtoX)
## What is the Python? ##
Python is a programming language that lets you work quickly and integrate systems more effectively.
### License ###
[MIT](LICENSE)