Mastermind-Game - A game to test programming and logical skills

Overview

Bem vindo ao jogo Mastermind!

O jogo consiste em adivinhar uma senha que será gerada a cada partida, composta por quatro cores dentre as citadas: amarelo, verde, azul, roxo, vermelho, laranja. Inicialmente será necessário inserir quantas tentativas você deseja ter para acertar a senha (a recomendação é 10). Existem 10 pinos de cada cor no total para serem usados, não podendo exceder esse número por pino na partida. A cada tentativa será informado por pinos brancos se a cor está na posição certa, por pinos pretos se a cor está na presente na senha porém na posição errada e pela palavra 'vazio' se a cor não está contida na senha. Nas suas tentativas insira 4 das cores citadas separadas por vírgula para tentar adivinhar a senha, sem repetir cor na mesma tentativa (exemplo: amarelo,verde,azul,roxo).

Boa sorte!


Welcome to the Mastermind Game!

The game was built in Portuguese, but the available colors (which are the most relevant information to the game) are translated below. The game consists to guess a password that will be generated at each round, made of four colors among the following: yellow, green, blue, purple, red, orange (which in portuguese is amarelo, verde, azul, roxo, vermelho, laranja). Initially will be necessary to insert how many attempts you would like to have to find out the password (the recommendation is 10 attempts). There are 10 pins of each color to be used, you cannot exceed this amount per pin at each round. At each attempt will be informed through white pins if the color is in the right position, through black pins if the color is present in the password, but is in the wrong position, and through the word 'vazio' (which means 'empty') if the color is not present in the password. You'll need to insert 4 colors at each attempt separated by comma, without repeating a single color more than once in the same attempt (e.g.: amarelo,verde,azul,roxo (which means yellow,green,blue,purple)). After inserting your attempt, if you see "Senha inválida" or "Senha incorreta" it means that your attempt is invalid/incorrect and if you see "Parabéns! Você acertou a senha!" it means that you can celebrate because the passord is correct!

Good luck!

Owner
Marcelo Daros
Marcelo Daros
Découvrez CubeCraft Launcher, une application uniquement codé en Python et en Batch

Découvrez CubeCraft Launcher, une application uniquement codé en Python et en Batch. Grâce à son interface graphique facile et intuitive, vous pouvez vous retrouver facilement.

1 May 21, 2022
A python game engine.

PursuedPyBear, also known as ppb, exists to be an educational resource. Most obviously used to teach computer science, it can be a useful tool for any topic that a simulation can be helpful.

PPB 235 Jan 08, 2023
A Tetris game made using PyGame as renderer only, for a school project.

Tetris_Python A Tetris game made using PyGame as renderer only, for a school project. Twist in the Game Blocks can pentrate through right and left bou

Ravi Arora 2 Jan 31, 2022
It calculates the Nim sum of a nim game.

nim-sum-calculator It calculates the Nim sum of a nim game. The rules of Nim The traditional game of Nim is played with a number of coins arranged in

2 Jan 02, 2022
Frets on Fire X: a fork of Frets on Fire with many added features and capabilities

Frets on Fire X - FoFiX This is Frets on Fire X, a highly customizable rhythm game supporting many modes of guitar, bass, drum, and vocal gameplay for

FoFiX 377 Jan 02, 2023
Simple darts game using Tkinter and sqlite3. Also associated with Python.

Ever wanted to play a simple and fun game before, and it even keeps a database of your score? Well here it is!! Introducing; Darts! A simple and fun g

an aspirin 2 Dec 19, 2021
Wordle for the terminal, writen in python

Wordle Wordle in the terminal, written in python Simply run bash run.sh in your terminal to run. This creates a virtual environment, installs the depe

Matthew Lidell 1 Feb 09, 2022
A car learns to drive in a small 2D environment using the NEAT-Algorithm with Pygame

Self-driving-car-with-Pygame A car learns to drive in a small 2D environment using the NEAT-Algorithm with Pygame Description A car has 5 sensors ("ey

Henri 3 Feb 01, 2022
Simple wordle clone + solver + backtesting

Wordle clone + solver + backtesting I created something. Or rather, I found about this game last week and decided that one challenge a day wasn't goin

1 Feb 08, 2022
A launcher to launch games from Riot Games under Linux

rito-launcher A launcher to launch games from Riot Games under Linux Requirements: Python 3, with the following pip plugins: 'configparser, pathlib, w

6 Mar 07, 2022
Client-Server design (guess the closest number to the average score game)

Multiplayer game (enter the number closest to the average) Design Client-Server design The client's side is responsible for sending numbers from the g

Adam Piszczek 0 Jun 29, 2022
Ultimaze est un jeu en 2.5D, réalisé dans le cadre d'un projet de NSI.

Ultimaze Ultimaze est un jeu en 2.5D, réalisé dans le cadre d'un projet de NSI. La consigne était d'utiliser la librairie pygame pour créer un jeu en

parlabarbedeMerlin 3 Sep 17, 2022
An interactive pygame implementation of quadtree spatial quantization

QuadTree-py An interactive pygame implementation of quadtree spatial quantization Contents Installation Usage API Reference TODO Installation Clone th

Ethan 1 Dec 05, 2021
A bot that deletes any embeds sent by a tropical webhook containing hex #000000 rancher's boots

tropical-webhook-cleanup how to use download the source code as zip get your discord bot token from https://discord.com/developers/applications put yo

carreb 0 Nov 25, 2022
A small script to help me solve Wordle because I'm that lazy

Wordle Solver A small script to help me solve Wordle because I'm that lazy. Warning: I didn't write this to be efficient nor elegant at all, so you'll

K4YT3X 3 Feb 11, 2022
An open-world game made in Python.

Dragon Realms Notes Windows OS only Contributors This project follows the all-contributors specification (emoji key, command Issue). See what you can

Dragon Realms 2 Jul 28, 2022
Python Program: Hilo Game

Python Program: Hilo Game 🂡 Description Hilo is a game in which the player gues

2 Jan 22, 2022
Flappy Bird Game using Pygame in Python

Flappy Bird Game using Pygame in Python Demo Pages Hello dear, hope you are very well! I created Flappy Bird Game using Pygame ( Pygame is a cross-pla

Datt Panchal 3 Feb 05, 2022
A minimal open source mtg-like tcg game made in python that can be played on a terminal emulator using a keyboard.

A minimal open source mtg-like tcg game made in python that can be played on a terminal emulator using a keyboard.

Amos 3 Aug 29, 2021
I automated the lumberjack game on telegram, by recognising pixels and using pyautogui module

Lumberjack Automated: @gamebot According to the official documentation, @gamebot is a demo bot for the Telegram Gaming Platform.` It provides some sam

Yew Chong 1 Dec 07, 2021