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

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.

Awesome Lists containing this project

README

          

![](src/logo.png)



NIM Game

-----------------

# 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)