Skip to content

Buraco is a Brazilian game that are played by 2, 4 (two teams of two) or 6 players (two or three teams of three and two, respectively). The game uses 2 deck of cards and wins the team that first reaches the maximum points, usually defined by 2000 points. The basic idea of this project is to concentrate all the game rules on a lib to be used by a…

Notifications You must be signed in to change notification settings

seixasfelipe/buraco_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biblioteca contendo logica do jogo de cartas chamado: Buraco


Estorias:

- O jogador começa o jogo de Buraco
- O jogo embaralha as cartas do baralho
- O jogo separa o morto
- O jogador recebe 11 cartas
- O jogador compra 1 carta do monte
- O jogador descarta 1 carta da mão
- O jogador pega todas as cartas da mesa e é obrigado a deixar 1 carta na mesa
- O jogador baixa jogos com as cartas da sua mão para a mesa
- O jogador ganha o jogo terminando todas as cartas da sua mão
- O jogador joga novamente



Release 01:

- O jogador começa o jogo de Buraco
- O jogo embaralha as cartas do baralho
- O jogador recebe 11 cartas
- O jogador compra 1 carta do monte
- O jogador baixa jogos com as cartas da sua mão para a mesa



* Para executar os testes:
cucumber --tags @release_01
rspec spec --color --format doc



TODO:
- colocar a execucao dos testes via rake tasks [DONE]
- improve readability:
  game.team.one.players
  game.team.one.points
  game.team.one.player.one.name

About

Buraco is a Brazilian game that are played by 2, 4 (two teams of two) or 6 players (two or three teams of three and two, respectively). The game uses 2 deck of cards and wins the team that first reaches the maximum points, usually defined by 2000 points. The basic idea of this project is to concentrate all the game rules on a lib to be used by a…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages