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
This is game 2048 created with moudle of python tkinter and OOP.

Game 2048 This is game 2048 created with moudle of python tkinter and OOP. This game build on classes. For start this game run: If you have python ver

0 Nov 02, 2021
A simple script which allows you to see how much GEXP you earned for playing in the last Minecraft Hypixel server session

Project Landscape A simple script which allows you to see how much GEXP you earned for playing in the Minecraft Server Hypixel Usage Install python 3.

Vincenzo Deluca 4 Dec 18, 2021
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
The game company we work for has two events that we want to track: buy an item and join a guild. Each of them has metadata characteristic of such events.

The game company we work for has two events that we want to track: buy an item and join a guild. Each of them has metadata characteristic of such events.

Caro Arriaga 1 Feb 04, 2022
Super Mario Kart November 1991 Prototype Repair by MrL314

Super Mario Kart November 1991 Prototype Repair by MrL314

MrL314 51 Dec 26, 2022
Simple game where you try to survive as long as you can on screen.

Survival Game Simple game where you try to survive as long as you can on screen. Play To run, download the code and run the survival_game.py file. Fro

Logan Morris 1 Feb 10, 2022
A simple hangman game for beginners trying to learn python

Hangman Game This is a simple hangman game for beginners trying to learn python. I have tried to keep it as simply as possible. Sample output Here is

1 Oct 13, 2021
CoinTex: Cross-platform Multi-Level Game created in Python using Kivy

CoinTex: Cross-platform Multi-Level Game created in Python using Kivy CoinTex is a multi-level adventure game created using the Kivy cross-platform Py

Ahmed Gad 57 Dec 11, 2022
A base chess engine that makes moves on an instance of board.

A base chess engine that makes moves on an instance of board.

0 Feb 11, 2022
2DMC is an abrrieviation for 2 Dimensional Minecraft.

2DMC 2DMC is an abrrieviation for 2 Dimensional Minecraft. This idea is originally created and implemented by Griffpatch on Scratch. This is a persona

DaNub 5 Nov 06, 2022
A small, Pygame-based library project intended for personal use.

EzyGame Version 0.0.1 A simple library project intended for personal use with Pygame. Warning: I am a very amateur programmer, so the code will probab

Dorbell 1 Jan 08, 2022
A very simple 3D maze game with ray tracing.

PytracingMaze MOST RECENT VERSION: Pytracing Maze.py Also, executable for Windows available on itch.io Simple ray tracing game in Python, based on my

FinFET 15 Dec 20, 2022
Minimalistic generic chess variant GUI using pyffish and PySimpleGUI, based on the PySimpleGUI Chess Demo

FairyFishGUI Minimalistic generic chess variant GUI using pyffish and PySimpleGUI, based on the PySimpleGUI Chess Demo. Supports all chess variants su

Fabian Fichter 6 Dec 20, 2022
Repository with console python implementation of Simple Artificial Life (simplified MAS) and Conway's game of life

artificial-life-game Repository with console python implementation of Simple Artificial Life (simplified MAS) and Conway's game of life Installation c

Vladislav 6 Nov 14, 2022
A terminal-based number guessing game written in python

A terminal-based number guessing game written in python

Akshay Vs 15 Sep 22, 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
PyChess - a chess client for Linux/Windows

PyChess - a free chess client for Linux/Windows The mission of PyChess is to create a free, pleasant, PyGObject based chess game for the Linux desktop

559 Dec 28, 2022
A simple pygame implementation of the LOGO programming language.

LOGO-py A simple pygame implementation of the LOGO programming language. Latest Version Notes Fixed a bug where penup/pendown would not work properly.

Ethan Evans 1 Dec 05, 2021
AI Games and its programming solution with Python.

Problem: Save the princess: Problem defination on Hackerrank: https://www.hackerrank.com/challenges/saveprincess About problem: Princess Peach is trap

Hasit Parmar 1 Feb 19, 2022
Python codes for the classic Hang Man game

Python codes for the classic Hang Man game. The user will be assigned a random word to guess, one character at a time. If the user gets everything right, the program says Well Done!, but if the user

p.katekomol 1 Jan 25, 2022