Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 2

OpenMastermind is an 100% Java implementation of the popular Mastermind boardgame.

0
 
  0 reviews  |  2 users  |  2,009 lines of code  |  0 current contributors  |  Analyzed 1 day ago
 
 

Mastermind, woo!

0
 
  0 reviews  |  0 users  |  40,473 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

Main objective: A game of mastermind where two people compete by both trying to break each other's hidden code, before their opponent, over a network. Current capabilities: It allows for a user to play against a computer opponent with sensible AI. The current version only supports user ... [More] vs computer mode. ( Note this is not complete, network support and Player vs Player modes to be added. PSP version to be released after this over the summer, most likely after employment found) Note on current downloads: To run the debug compilation from the downloads section you need to have Visual Studio Express C++ installed. I will upload a release version when I have time to recompile the code so that you don't need to have Visual Studio installed. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors
 
 

1. IntroducciónMasterMind es un juego de meza para dos jugadores donde uno genera un código y otro intenta descifrarlo, inventado en 1970 por Mordecai Meirowitz. El juego consta básicamente de: Un tablero para ir fijando jugadas y calificaciones como se muestra en la figura 1. Un conjunto ... [More] de 8 colores con el cual se genera tanto el código como el intento(jugada). Un conjunto adicional de colores para calificar, blanco y negro (susignificado se detallará más adelante). Un conjunto de acciones definidas para los jugadores. Las acciones que pueden realizar los jugadores se listan a continuación: Generador de código (CodeMaker): Genera una secuencia (código) de cinco colores a partir del conjunto de colores originales. Califica cada intento del CodeBraker en base a su código y se tienen dos casos: Si el color en una posición es el mismo en ambos (código e intento) se califica con una bolita negra, estas son acumulativas, es decir si hay tres colores en la misma posición en ambas secuencias se califica con tres bolitas negras. Si un color se encuentra en ambos (código e intento) pero en diferente posición se califica con una bolita blanca, estas son acumulativas, es decir si hay tres colores iguales en ambas secuencias pero en diferentes posiciones se califica con tres bolitas blancas. Rompedor de código (CodeBraker): Genera una secuencia (intento) de cinco colores a partir del conjunto de colores inicial como se muestra en la figura 2, y se la da al CodeMaker para que este la califique. El CodeBraker tiene un número máximo de intentos para descifrar la secuencia del CodeMaker. Como las jugadas se generan a partir del conjunto de colores (de ocho elementos) y se tienen cinco de ellos en cada intento, existen entonces 85 (32768) secuencias posibles para cada intento, sería muy poco viable generar una jugada aleatoriamente y presentarsela al CodeMaker por lo que para tener éxito en este juego se debe de seguir patrones basados en la respuesta que proporciona el CodeMaker. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 1 day ago
 
 

todo

0
 
  0 reviews  |  0 users  |  1,208 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 
Compare

C-NCThis is a Mastermind (Enigma, Guess, etc.) style GTK+ game. It implements two modes of play: player guesses computer's code and computer guesses player's code. The two modes alternate between rounds. A code is a four digit number in which no two digits are the same. In addition, the ... [More] number cannot start with 0. After the player inputs his guess the computer returns two number: the number of centered digits and the number of non-centered digits. A centered digit is a digit that appears in the code and is in the correct postition. Ex. code: 1234 guess:1537; there are two centered digit: 1 and 3. A non-centered digit is a digit that appears in the code but is NOT in the correct position. Ex. code: 1234 guess: 4281; there are two non-centered digits: 4 and 1. The goal is to guess the code. Download latest version: c-nc-0.5.tar.gz BitBake recipe: c-nc_0.5.bb [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 1 day ago
 
 

Rules: (1 Player) Computer will generate a random. Player will guess the secret code X (depending on the difficulty) number of times until the player either guess correctly or until the number of guesses runs out. The secret code will be made up of 4 different characters with Y (depending on ... [More] the difficulty) total allowable characters to choose from. If player guess a correct correct character, the user will be told that they picked the right color but not the right spot. They will not be told what character. If the player guess a correct character on the correct spot, they will be told they did so, however they will not be told which character it is. Easy: When a player chooses easy, they will have 6 possible characters, with up to 4 being selected for the code. They will have a total of 20 guesses. Medium: When a player chooses medium, they will have 10 possible characters, with up to 4 being selected for the code. They will have a total of 17 guesses. Hard: When a player chooses hard, they will have 15 possible characters, with up to 5 being selected for the code. They will have a total of 15 guesses. Custom: Player will be able to manually input possible characters, total characters, max characters selected, and and total allowed guesses. (2 Player) Same as 1st player except instead of the computer generating the code, the second user will. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 6 days ago
 
 

Guess the colors of the hidden pegs in this classic game. Click on the pegs at the bottom of the board to make your selection and then press 'guess'. For each peg that is the correct color but not in the correct place, a small white peg will appear. For each peg that is the correct color ... [More] AND in the correct place, a small black peg will appear. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 2 days ago
 
 

http://en.wikipedia.org/wiki/Mastermind_(board_game) That, in the command line.

0
 
  0 reviews  |  0 users  |  1,070 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

Requires pygame and uses various lists and dictionaries to manage the game progress. Makes considerable use of the pygame.draw function for ellipses. Uses random colors from 0 to 255. The result of each guess is displayed until the next guess requiring more effort from your memory to solve. Good luck!

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 1 day ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.