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
Historical battle simulation package for Python

Jomini v0.1.4 Jomini creates military simulations by using mathematical combat models. Designed to be helpful for game developers, students, history e

Ümit Kaan Usta 36 Dec 08, 2022
Open-source project written in the ursina engine, simulating the popular game Minecraft.

Voxelcraft is an open-source project written in the ursina engine, simulating the popular game Minecraft.

Calinescu Mihai 21 Oct 06, 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
MiTM proxy server for Darza's Dominion

Midnight A MiTM proxy server for Darza's Dominion, PC version. See this video for a demonstration of godmode: https://youtu.be/uoqvSxmnCJk How to use

2 Oct 24, 2022
A visualization of how much Manchester United fans enjoyed each game from the first half of the 21/22 Premier League season.

Man-Utd-Fan-Satisfaction-Levels-First-19-games A visualization of how much Manchester United fans enjoyed each game from the first half of the 21/22 P

1 Jan 19, 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
A python snake game based on pygame.

PySnake A python snake game based on pygame. Requirements Package version pygame = 2.1.2 opencv-python = 4.5.1.48 Run Windows python main.py Linux &

2 Jan 31, 2022
A menu for pygame. Simple, and easy to use

pygame-menu Source repo on GitHub, and run it on Repl.it Introduction Pygame-menu is a python-pygame library for creating menus and GUIs. It supports

Pablo Pizarro R. 411 Dec 27, 2022
Code for an arcade pop-a-shot style basketball game on Raspberry Pi

Basketball-Game Code for an arcade pop-a-shot style basketball game on Raspberry Pi, made over the course of winter break 2022. How To Run: Running th

Seth Reis 1 Jan 21, 2022
Automatically prepare your Minecraft maps for release

map-prepare Automatically prepare Mineraft map for release. Current state: kinda works Make sure you have backups for your world before running this p

11 Oct 11, 2022
A python program for playing rock-paper-scissors with computer .

Rock_Paper_Scissors_Cut A time passing famous hand game known as rock paper scissors cut game. Starting from children to adults everyone plays this ga

Arghya Banerjee 1 Dec 16, 2021
Snake (PyGame-based) port for Minecraft:Bedrock Edition using PEWSAPI

Snake_PEWSAPI Snake (PyGame-based) port for Minecraft:Bedrock Edition using PEWSAPI And we are not going to make any change to the original Snake sour

Azuki 1 Mar 17, 2022
Wordle Solver: A simple script which is also called Wordle solver

wordle-solver this code is a simple script which is also called Wordle solver. t

amirreza 1 Feb 15, 2022
This is an interactive MiniMap made with Python, PyQT5 & Pytesseract for the game

NWMM-New-World-MiniMap Features: Automatically grabs position from "New World" Instance Live visualisation of player position on MiniMap Circular & re

Nezzquikk 18 Sep 21, 2022
Flappy-Bird AI - Flappy Bird game with AI

FLAPPY BIRD AI Flappy Bird game solved with neat-python, a Python module based o

1 Jan 07, 2022
A top-down arcade space shooter made in pygame.

About: Journey Through Space is a top-down arcade shooter made in pygame. You play as a pilot who was left behind after a battle and the goal is to go

Crimson Sane 0 Jan 01, 2022
Orbital-patterns - A program which plots pattern that revolving planets make

orbital-patterns Click to spawn planets Press "S" to capture screenshot. Image w

Yuvraj.M 11 Dec 24, 2022
HackNC 2021 Project

pyTunes HackNC 2021 Project Setting Up Once the repo is cloned, install the requirements through pip install -r ./requirements.txt Once that is done,

Demo 1 Nov 07, 2021
Minecraft - Online Players Overlay Generator

Minecraft - Online Players Overlay Generator Contents About Quick Start Download Pre-Built Binary Run from Source Configuration Command-Line Options F

4 Sep 12, 2022
A script to install a Windows game through GOG on Linux

proton-gog-install A script to install a Windows game through GOG on Linux. Based on this gist. Tested on Arch, might work elsewhere. Requirements: Im

5 Dec 28, 2022